diff options
author | Oz Linden <oz@lindenlab.com> | 2018-05-30 10:36:23 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2018-05-30 10:36:23 -0400 |
commit | 837ca22924a4fc3ade6d592bc75c7921a6f4e668 (patch) | |
tree | e83646ebe5ceb47ee82a2530e5fef2e0cdec4f1e | |
parent | 0fedc97f3f9bb83e93624343072c9b3dd62c63ae (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-x | build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |