From 984a4222792102dbe0de377c97f321c8466ac7ba Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sun, 26 Aug 2012 23:16:57 +0200 Subject: [PATCH] Again, fixed hooks. --- createhooks.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createhooks.sh b/createhooks.sh index d03396a2..346bbe6a 100755 --- a/createhooks.sh +++ b/createhooks.sh @@ -2,9 +2,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo -e "#!/bin/bash\n[ -f configure ] && touch configure\n[ -f configure.ac ] && touch configure.ac" > $DIR/.git/hooks/post-commit echo -e "#!/bin/bash\n[ -f configure ] && touch configure\n[ -f configure.ac ] && touch configure.ac" > $DIR/.git/hooks/post-checkout -echo -e "#!/bin/bash\n[ -f configure ] && touch configure\n[ -f configure.ac ] && touch configure.ac" > $DIR/.git/hooks/post-receive +echo -e "#!/bin/bash\n[ -f configure ] && touch configure\n[ -f configure.ac ] && touch configure.ac" > $DIR/.git/hooks/post-merge chmod +x $DIR/.git/hooks/post-commit chmod +x $DIR/.git/hooks/post-checkout -chmod +x $DIR/.git/hooks/post-receive +chmod +x $DIR/.git/hooks/post-merge echo "Done! The version number should now auto-update whenever you commit or checkout."