Commit b895d5db authored by Armando Rivera's avatar Armando Rivera

Updated to allow sourcing from anywhere in filesystem

parent 4467bc9f
......@@ -7,7 +7,7 @@
if (( sourced == 0 ));then
WORKDIR=$(dirname "$(readlink -f "$0")")
else
WORKDIR=$(pwd -P)
WORKDIR=$(dirname $(readlink -f ${BASH_SOURCE[0]}))
fi
export PATH="${WORKDIR}"/bin:$PATH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment