mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
add quotes to handles spaces in working dir
This commit is contained in:
committed by
Aiden McClelland
parent
e0c68c1911
commit
18e2c610bc
@@ -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
|
[[ $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
|
done
|
||||||
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
|
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
|
||||||
cd $DIR/..
|
cd "$DIR/.."
|
||||||
|
|
||||||
truncate --size=$[(31116287+1)*512] eos.img
|
truncate --size=$[(31116287+1)*512] eos.img
|
||||||
if [ -z "$OUTPUT_DEVICE" ]; then
|
if [ -z "$OUTPUT_DEVICE" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user