summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2011-07-08 11:27:13 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:17:57 -0700
commita3a0dc230e3432d40b880ac5edd65586706755d0 (patch)
tree46db8a1772cbf2723ffe312eec4769f39537b969
parent79bf902545df6934c487fb69a4c6d0ab393bc7fa (diff)
Fixing setup so you can call it from anywhere and your paths won't be mingled
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9777]
-rw-r--r--setup_enviroment2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_enviroment b/setup_enviroment
index 7ecff07..e8983e2 100644
--- a/setup_enviroment
+++ b/setup_enviroment
@@ -1,6 +1,6 @@
SIMSUBDIR=fermi
-export GPGPUSIM_ROOT=$PWD
+export GPGPUSIM_ROOT=$(cd `dirname $0` && pwd)
export QTINC=/usr/include
export BOOST_ROOT=/usr/include/boost