summaryrefslogtreecommitdiff
path: root/BaseTools/BinWrappers/PosixLike/RunToolFromSource
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/BinWrappers/PosixLike/RunToolFromSource')
-rw-r--r--BaseTools/BinWrappers/PosixLike/RunToolFromSource5
1 files changed, 5 insertions, 0 deletions
diff --git a/BaseTools/BinWrappers/PosixLike/RunToolFromSource b/BaseTools/BinWrappers/PosixLike/RunToolFromSource
new file mode 100644
index 0000000000..2cb8b86a99
--- /dev/null
+++ b/BaseTools/BinWrappers/PosixLike/RunToolFromSource
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+#python `dirname $0`/RunToolFromSource.py `basename $0` $*
+PYTHONPATH="`dirname $0`/../../Source/Python" \
+ python "`dirname $0`/../../Source/Python"/`basename $0`/`basename $0`.py $*
+