summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-10-29 01:41:02 +0000
committerStef Walter <stef@memberwebs.com>2009-10-29 01:41:02 +0000
commitbc97679627a6b73a8c951bca754c9445774f598b (patch)
treea0ac5c8264489b3a9befceafab67da1b9b6d3265 /autogen.sh
parent608954afbd2dd93b1ae9d7cc59a77e1ae03dfd03 (diff)
Work better with git and other tools.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 3ecad27..b4b1261 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,16 @@
-#!/bin/sh -ex
+#!/bin/sh
-set -ex
+set -e
+
+# Some boiler plate to get git setup as expected
+if test -d .git; then
+ if test -f .git/hooks/pre-commit.sample && \
+ test ! -f .git/hooks/pre-commit; then
+ cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit
+ fi
+fi
+
+set -x
aclocal
autoheader