summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2011-07-08 11:45:39 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:18:21 -0700
commit8de79734f6f6fa7090efd5f5c6591f58f279ab5d (patch)
treec4629db8e535ba405f56bb9b868114cde2c2f504
parentd84ead212dad38dc6fd8b6cd7830326cd92e0364 (diff)
More portable setup
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9781]
-rw-r--r--setup_enviroment2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_enviroment b/setup_enviroment
index 244b92f..e99d10c 100644
--- a/setup_enviroment
+++ b/setup_enviroment
@@ -1,6 +1,6 @@
SIMSUBDIR=fermi
-export GPGPUSIM_ROOT="$( cd "$( dirname "$0" )" && pwd )"
+export GPGPUSIM_ROOT="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )"
export QTINC=/usr/include
export BOOST_ROOT=/usr/include/boost