diff options
author | Charles Duffy <chaduffy@cisco.com> | 2016-01-20 05:12:02 +0000 |
---|---|---|
committer | yzhu52 <yzhu52@Edk2> | 2016-01-20 05:12:02 +0000 |
commit | 5e407648358d639ed19d228303527133e4c95c25 (patch) | |
tree | 168ba8b12e04baed6e0c878b58d2f6f99c97a393 /BaseTools/Tests | |
parent | 6928c1d3eed8fb3ab0b136f0ebdcef50f7bda2f3 (diff) | |
download | edk2-5e407648358d639ed19d228303527133e4c95c25.zip edk2-5e407648358d639ed19d228303527133e4c95c25.tar.gz edk2-5e407648358d639ed19d228303527133e4c95c25.tar.bz2 |
BaseTools: Improve shell wrapper for C build commands
- Avoid obsolescent forms of test builtin (`-a` and `-o`; see APPLICATION USAGE
section of http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html).
- Quote all expansions to prevent string-splitting and globbing.
- Avoid unspecified "exit -1" (only single-byte integers are valid); instead,
use identical exit status to shell command-not-found.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Charles Duffy <chaduffy@cisco.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19695 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Tests')
0 files changed, 0 insertions, 0 deletions