From 18e2c610bca13b9fcc84f5220dc601b0093596a9 Mon Sep 17 00:00:00 2001 From: Thomas Moerkerken <1309462+moerketh@users.noreply.github.com> Date: Sun, 5 Jun 2022 13:30:18 +0000 Subject: [PATCH] add quotes to handles spaces in working dir --- build/make-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/make-image.sh b/build/make-image.sh index d0a01fcdc..01fd86010 100755 --- a/build/make-image.sh +++ b/build/make-image.sh @@ -17,7 +17,7 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located done DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" -cd $DIR/.. +cd "$DIR/.." truncate --size=$[(31116287+1)*512] eos.img if [ -z "$OUTPUT_DEVICE" ]; then