UseIt: allow sourcing from outside the Toolchain dir

This commit is contained in:
Robin Burchell 2019-05-15 20:05:40 +02:00 committed by Andreas Kling
parent 219f2f988e
commit bfd94dbf54

View file

@ -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"
echo "$PATH"