summaryrefslogtreecommitdiff
path: root/Toolchain/UseIt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Toolchain/UseIt.sh')
-rw-r--r--Toolchain/UseIt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Toolchain/UseIt.sh b/Toolchain/UseIt.sh
index f80ba51ce0..4008a23c73 100644
--- a/Toolchain/UseIt.sh
+++ b/Toolchain/UseIt.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+DIR=$( dirname $( readlink -e "$0" ) )
export PATH="$DIR/Local/bin:$PATH"
export TOOLCHAIN="$DIR"
-echo "$PATH" \ No newline at end of file
+echo "$PATH"