summaryrefslogtreecommitdiff
path: root/git-hooks
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2010-12-07 10:32:26 +0100
committerThomas Klausner <wiz@NetBSD.org>2010-12-07 10:54:30 +0100
commit137a4680f23f37336175c6fb0ca6ba266d595e6a (patch)
treecca059dd024856d78c565f61b343fa84bde130f6 /git-hooks
parent66d4350b8ce46c947e96d7d92031ee4b96bfe43b (diff)
Use "/usr/bin/env perl" to make it work on systems without /usr/bin/perl.
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit
index 253f2dd6654d..b6581a431989 100755
--- a/git-hooks/pre-commit
+++ b/git-hooks/pre-commit
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
# A hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should