summaryrefslogtreecommitdiff
path: root/init.d/40git-pre-commit-hook
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-05 16:58:25 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-05 16:58:25 -0500
commitb0160eb5daf39f3258eb06e677bcc433c7425ca0 (patch)
treea9820bd23ab91d3e224f9a8898e0cbb931f206c7 /init.d/40git-pre-commit-hook
parent5d441f773d56b6b1a0a95c18ca6bb33e3e237dbe (diff)
bugfixes
Diffstat (limited to 'init.d/40git-pre-commit-hook')
-rwxr-xr-xinit.d/40git-pre-commit-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/40git-pre-commit-hook b/init.d/40git-pre-commit-hook
index f1609eb..2b23dc0 100755
--- a/init.d/40git-pre-commit-hook
+++ b/init.d/40git-pre-commit-hook
@@ -5,7 +5,7 @@ if [ -x .git/hooks/pre-commit ]; then
echo "etckeeper warning: .git/hooks/pre-commit needs to be manually modifed to run etckeeper-pre-commit" >&2
fi
else
- echo <<EOF >>.git/hooks/pre-commit
+ cat >.git/hooks/pre-commit <<EOF
#!/bin/sh
# pre-commit hook for etckeeper. Calls etckeeper-pre-commit to store metadata
# and do sanity checks.