Last change
on this file since 89983 was 89983, checked in by vboxsync, 4 years ago |
Devices/EFI: Merge edk-stable202105 and openssl 1.1.1j and make it build, bugref:4643
|
-
Property svn:eol-style
set to
LF
-
Property svn:executable
set to
*
|
File size:
520 bytes
|
Line | |
---|
1 | #!/usr/bin/env bash
|
---|
2 | #python `dirname $0`/RunToolFromSource.py `basename $0` $*
|
---|
3 |
|
---|
4 | # If a ${PYTHON_COMMAND} command is available, use it in preference to python
|
---|
5 | if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then
|
---|
6 | python_exe=${PYTHON_COMMAND}
|
---|
7 | fi
|
---|
8 |
|
---|
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 | cmd=${full_cmd##*/}
|
---|
11 |
|
---|
12 | export PYTHONPATH="$dir/../../Source/Python${PYTHONPATH:+:"$PYTHONPATH"}"
|
---|
13 | exec "${python_exe:-python}" -m $cmd.EccMain "$@"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.