summaryrefslogtreecommitdiffstats
path: root/run
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-02-23 08:18:40 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-02-23 08:18:40 +0100
commit3f3b678b15eef0d102a021e07c8476b45e52940a (patch)
tree3447dda18e8ce6d62e685c632288bbe39bfdbd26 /run
parentdbef1e0271da298a0cbdc951dda84b7f150bbad0 (diff)
downloadpcitool-3f3b678b15eef0d102a021e07c8476b45e52940a.tar.gz
pcitool-3f3b678b15eef0d102a021e07c8476b45e52940a.tar.bz2
pcitool-3f3b678b15eef0d102a021e07c8476b45e52940a.tar.xz
pcitool-3f3b678b15eef0d102a021e07c8476b45e52940a.zip
Add run script to run python scripts and binary executables in the local environment
Diffstat (limited to 'run')
-rwxr-xr-xrun5
1 files changed, 5 insertions, 0 deletions
diff --git a/run b/run
new file mode 100755
index 0000000..42160f2
--- /dev/null
+++ b/run
@@ -0,0 +1,5 @@
+#! /bin/bash
+
+APP_PATH=`dirname $0`
+
+PYTHONPATH="$APP_PATH/pywrap:$PYTHONPATH" PCILIB_MODEL_DIR="$APP_PATH/xml" LD_LIBRARY_PATH="$APP_PATH/pcilib" $*