Get rid of nounset flag when running the bootstrap subscript (#1549)

This commit is contained in:
Roy Keene 2019-01-03 10:48:06 -06:00 committed by GitHub
commit 20f7333580
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -104,15 +104,15 @@ else
keepArchive='true'
fi
if [ -n "${buildCArgs[*]}" ]; then
if [ -n "${buildCArgs[*]}" ]; then
buildArgs+=(cflags="${buildCArgs[*]}")
fi
if [ -n "${buildCXXArgs[*]}" ]; then
if [ -n "${buildCXXArgs[*]}" ]; then
buildArgs+=(cxxflags="${buildCXXArgs[*]}")
fi
if [ -n "${buildLDArgs[*]}" ]; then
if [ -n "${buildLDArgs[*]}" ]; then
buildArgs+=(linkflags="${buildLDArgs[*]}")
fi

View file

@ -31,6 +31,7 @@ for file in */prep.sh.in; do
# Print out the bootstrap_boost
print "function bootstrap_boost () {"
print "\t("
print "\t\tset +u"
print "\t\tmkdir -p \"${KEEP_AROUND_DIRECTORY}\" || exit 1"
print "\t\tcd \"${KEEP_AROUND_DIRECTORY}\" || exit 1"
while (getline <"bootstrap_boost.sh") {