summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2018-05-30 10:36:23 -0400
committerOz Linden <oz@lindenlab.com>2018-05-30 10:36:23 -0400
commit837ca22924a4fc3ade6d592bc75c7921a6f4e668 (patch)
treee83646ebe5ceb47ee82a2530e5fef2e0cdec4f1e
parent0fedc97f3f9bb83e93624343072c9b3dd62c63ae (diff)
set shell nullglob option
so that when a glob has no expansion you don't get the glob back ( *.sh expands to empty rather than to "*.sh")
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 1196cb3813..b85e254c15 100755
--- a/build.sh
+++ b/build.sh
@@ -204,6 +204,8 @@ then
exit 1
fi
+shopt -s nullglob # if nothing matches a glob, expand to nothing
+
initialize_build # provided by master buildscripts build.sh
begin_section "autobuild initialize"