Skip to content

Commit 0919649

Browse files
committed
do not create subfolders in a hook folder
It confuses the configure.sh script
1 parent 7af02ca commit 0919649

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
File renamed without changes.

hooks/syntaxchecker/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ fi
99
for FILE in `git diff-index --cached --name-status $against -- | cut --characters=3-`; do
1010
if [ -f $FILE ]
1111
then
12-
if [ -f $GIT_DIR/hooks/syntaxchecker/${FILE##*.}/check.sh ]
12+
if [ -f $GIT_DIR/hooks/syntaxchecker/${FILE##*.}.sh ]
1313
then
14-
source $GIT_DIR/hooks/syntaxchecker/${FILE##*.}/check.sh
14+
source $GIT_DIR/hooks/syntaxchecker/${FILE##*.}.sh
1515
fi
1616
fi
1717
done

0 commit comments

Comments
 (0)