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
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
pushd ${DIR}/Generator
|
||||
pushd "${DIR}/Generator"
|
||||
rm -rf .build
|
||||
env -i PATH="$PATH" HOME="$HOME" swift build --configuration release -Xswiftc -static-stdlib
|
||||
popd
|
||||
|
|
Loading…
Reference in New Issue