diff options
-rwxr-xr-x | BaseTools/BinWrappers/PosixLike/AmlToC (renamed from BaseTools/BinWrappers/PosixLike/AmlToHex) | 28 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/AmlToC.bat (renamed from BaseTools/BinWrappers/WindowsLike/AmlToHex.bat) | 0 | ||||
-rw-r--r-- | BaseTools/Source/Python/AmlToC/AmlToC.py (renamed from BaseTools/Source/Python/AmlToHex/AmlToHex.py) | 0 |
3 files changed, 14 insertions, 14 deletions
diff --git a/BaseTools/BinWrappers/PosixLike/AmlToHex b/BaseTools/BinWrappers/PosixLike/AmlToC index 9fb68299e4..1dd28e9662 100755 --- a/BaseTools/BinWrappers/PosixLike/AmlToHex +++ b/BaseTools/BinWrappers/PosixLike/AmlToC @@ -1,14 +1,14 @@ -#!/usr/bin/env bash
-#python `dirname $0`/RunToolFromSource.py `basename $0` $*
-
-# If a ${PYTHON_COMMAND} command is available, use it in preference to python
-if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then
- python_exe=${PYTHON_COMMAND}
-fi
-
-full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
-dir=$(dirname "$full_cmd")
-exe=$(basename "$full_cmd")
-
-export PYTHONPATH="$dir/../../Source/Python${PYTHONPATH:+:"$PYTHONPATH"}"
-exec "${python_exe:-python}" "$dir/../../Source/Python/$exe/$exe.py" "$@"
+#!/usr/bin/env bash +#python `dirname $0`/RunToolFromSource.py `basename $0` $* + +# If a ${PYTHON_COMMAND} command is available, use it in preference to python +if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then + python_exe=${PYTHON_COMMAND} +fi + +full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here +dir=$(dirname "$full_cmd") +exe=$(basename "$full_cmd") + +export PYTHONPATH="$dir/../../Source/Python${PYTHONPATH:+:"$PYTHONPATH"}" +exec "${python_exe:-python}" "$dir/../../Source/Python/$exe/$exe.py" "$@" diff --git a/BaseTools/BinWrappers/WindowsLike/AmlToHex.bat b/BaseTools/BinWrappers/WindowsLike/AmlToC.bat index 9616cd893b..9616cd893b 100644 --- a/BaseTools/BinWrappers/WindowsLike/AmlToHex.bat +++ b/BaseTools/BinWrappers/WindowsLike/AmlToC.bat diff --git a/BaseTools/Source/Python/AmlToHex/AmlToHex.py b/BaseTools/Source/Python/AmlToC/AmlToC.py index 643db2910e..643db2910e 100644 --- a/BaseTools/Source/Python/AmlToHex/AmlToHex.py +++ b/BaseTools/Source/Python/AmlToC/AmlToC.py |