Skip to content

Commit

Permalink
Use readlink -f to determine source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Oct 5, 2014
1 parent 0587872 commit fa15784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepare-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
###########################################################################


PATH=$PATH:$(dirname $0)
PATH=$PATH:$(dirname $(readlink -f $0))

if ! type -p astyle.sh >/dev/null; then
echo astyle.sh not found
Expand Down

0 comments on commit fa15784

Please sign in to comment.