summaryrefslogtreecommitdiff
path: root/setup_enviroment
diff options
context:
space:
mode:
Diffstat (limited to 'setup_enviroment')
-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