Support spaces in script path in build_generator
This commit is contained in:
parent
6e760b70ce
commit
b0b64cf503
|
@ -3,7 +3,7 @@
|
||||||
# getting the script directory: https://stackoverflow.com/a/246128
|
# getting the script directory: https://stackoverflow.com/a/246128
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
pushd ${DIR}/Generator
|
pushd "${DIR}/Generator"
|
||||||
rm -rf .build
|
rm -rf .build
|
||||||
env -i PATH="$PATH" HOME="$HOME" swift build --configuration release -Xswiftc -static-stdlib
|
env -i PATH="$PATH" HOME="$HOME" swift build --configuration release -Xswiftc -static-stdlib
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue