]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/BinPipWrappers/PosixLike/Trim
DynamicTablesPkg: Fix generated _HID value for SBSA
[mirror_edk2.git] / BaseTools / BinPipWrappers / PosixLike / Trim
CommitLineData
1534b622
MC
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
5if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then
6 python_exe=${PYTHON_COMMAND}
7fi
8
9full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
10cmd=$(basename "$full_cmd")
11
12exec "${python_exe:-python}" -m edk2basetools.$cmd.$cmd "$@"
13