Commit e83fcfbc authored by Armando Rivera's avatar Armando Rivera

Updated with correct version allowing sourcing from any point in filesystem

parent c705d6ba
......@@ -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