audk/BaseTools/Bin/CYGWIN_NT-5.1-i686
Charles Duffy 6928c1d3ee BaseTools: Improve shell wrappers for Python build commands
- Use `python2` executable if it exists, to avoid breakage on systems (such as
  Arch Linux) where `python` is Python 3.
- Quote all references to `$0`, for safety when located in a directory
  containing spaces in its name.
- Use the `exec` shell command to avoid leaving the shell wrapper in the
  process table when invoking the actual build tool.
- Use `"$@"` rather than `$*` to pass arguments through directly rather than
  concatenating to a string, and then string-splitting and glob-expanding its
  contents.
- Use `$BASH_SOURCE` in preference to `$0` (which is only guaranteed to be
  process name, *not* source path).

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@19694 6f19259b-4bc3-4df7-8a09-765794883524
2016-01-20 05:09:06 +00:00
..
BootSectImage Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
BuildEnv Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
Ecc BaseTools: Improve shell wrappers for Python build commands 2016-01-20 05:09:06 +00:00
EfiLdrImage Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
EfiRom Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
GenCrc32 Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
GenDepex BaseTools: Improve shell wrappers for Python build commands 2016-01-20 05:09:06 +00:00
GenFds BaseTools: Improve shell wrappers for Python build commands 2016-01-20 05:09:06 +00:00
GenFfs Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
GenFv Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
GenFw Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
GenPage Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
GenSec Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
GenVtf Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
GnuGenBootSector Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
LzmaCompress Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
LzmaF86Compress Sync BaseTools Trunk (version r2518) to EDKII main trunk. 2012-04-10 07:28:51 +00:00
RunBinToolFromBuildDir Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
RunToolFromSource Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
Split Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
TargetTool BaseTools: Improve shell wrappers for Python build commands 2016-01-20 05:09:06 +00:00
TianoCompress Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
Trim BaseTools: Improve shell wrappers for Python build commands 2016-01-20 05:09:06 +00:00
VfrCompile Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
VolInfo Set executable attributes for those run scripts. 2012-02-15 08:06:01 +00:00
armcc_wrapper.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
build BaseTools: Improve shell wrappers for Python build commands 2016-01-20 05:09:06 +00:00