diff options
author | Mathieu Clabaut <mathieu.clabaut@gmail.com> | 2007-12-21 15:47:30 -0600 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-03 19:53:46 -0500 |
commit | 8ad9330c37b5e11eefecc243cb8890fcab4e076a (patch) | |
tree | ebc165c75c9c16eee0321aeddd630a571f76b1b1 /hg | |
parent | 3fec1173b92e548968d6647b65ff5ec82d205518 (diff) |
hg-pre-commit-hook: typo when touching file
Diffstat (limited to 'hg')
-rw-r--r-- | hg/init.d/50hg-pre-commit-hook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hg/init.d/50hg-pre-commit-hook b/hg/init.d/50hg-pre-commit-hook index 0603d30..bccd79b 100644 --- a/hg/init.d/50hg-pre-commit-hook +++ b/hg/init.d/50hg-pre-commit-hook @@ -3,7 +3,7 @@ set -e if [ -e .hg/hgrc ] && grep "^\[hooks\]" .hg/hgrc; then echo "etckeeper warning: [hooks] section in .hg/hgrc needs to be manually modified to run: etckeeper pre-commit `pwd`" >&2 else - touch + touch .hg/hgrc cat >>.hg/hgrc <<EOF [hooks] # pre-commit hook for etckeeper, to store metadata and do sanity checks |