mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user