Support spaces in script path in build_generator

This commit is contained in:
dmazzoni 2019-02-22 16:32:27 +01:00 committed by Matyáš Kříž
parent 6e760b70ce
commit b0b64cf503
1 changed files with 1 additions and 1 deletions

View File

@ -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