summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMatt Watson <mattdangerw@gmail.com>2013-04-24 14:56:53 -0700
committerMatt Watson <mattdangerw@gmail.com>2013-04-25 02:19:07 -0700
commit0aec2d73847c74ce783293682b6bc60665ed5d93 (patch)
treee68fcbd6b674d2766c79408ccfd37a046a202a76 /autogen.sh
parent1521b0b3283c6ffa2e83aa993eaf7dfcfb28be55 (diff)
Added commit-msg script for issues tracking which autogen installs.
[endlessm/eos-sdk#35]
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index b462eec..6c20886 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,6 +14,12 @@ test -f $FILE_MUST_EXIST || {
exit 1
}
+# Install our commit message script if a git repo
+if [ -d .git ]; then
+ cp commit-msg .git/hooks/commit-msg
+ chmod +x .git/hooks/commit-msg
+fi
+
# GNU gettext automake support doesn't get along with git
# https://bugzilla.gnome.org/show_bug.cgi?id=661128
touch -t 200001010000 $POT_FILE