From b0b64cf503ac062f394cc715102e0b1d6993b7ee Mon Sep 17 00:00:00 2001 From: dmazzoni Date: Fri, 22 Feb 2019 16:32:27 +0100 Subject: [PATCH] Support spaces in script path in build_generator --- build_generator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_generator b/build_generator index f925d83..f06f6e9 100755 --- a/build_generator +++ b/build_generator @@ -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