Use readlink -f to determine source directory

This commit is contained in:
Sandro Mani 2014-10-05 13:46:46 +02:00
parent 0587872278
commit fa157843a1

View File

@ -15,7 +15,7 @@
########################################################################### ###########################################################################
PATH=$PATH:$(dirname $0) PATH=$PATH:$(dirname $(readlink -f $0))
if ! type -p astyle.sh >/dev/null; then if ! type -p astyle.sh >/dev/null; then
echo astyle.sh not found echo astyle.sh not found