Get rid of nounset flag when running the bootstrap subscript (#1549)
This commit is contained in:
parent
37222c2bf4
commit
20f7333580
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue