Skip to content

Commit 1346cb6

Browse files
committedOct 5, 2014
Merge pull request #1611 from manisandro/readlink
Use readlink -f to determine source directory in scripts/prepare-commit.sh
2 parents 3c95b5b + fa15784 commit 1346cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/prepare-commit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
###########################################################################
1616

1717

18-
PATH=$PATH:$(dirname $0)
18+
PATH=$PATH:$(dirname $(readlink -f $0))
1919

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

0 commit comments

Comments
 (0)
Please sign in to comment.