]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/BinWrappers/PosixLike/GenFds
99dcf99657b863a171ad701f17292229a3039cdf
2 #python `dirname $0`/RunToolFromSource.py `basename $0` $*
4 # If a PYTHON3 command is available, use it in preference to python
5 if command -v $PYTHON3 >/dev
/null
2>&1; then
9 full_cmd
=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
10 dir
=$
(dirname "$full_cmd")
13 export PYTHONPATH
="$dir/../../Source/Python${PYTHONPATH:+:"$PYTHONPATH"}"
14 exec "${python_exe:-python}" -m $cmd.
$cmd "$@"