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