[gnome-chess] Fix previous commit
- From: Sahil Sareen <ssareen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Fix previous commit
- Date: Sun, 6 Dec 2015 08:01:46 +0000 (UTC)
commit d7761a343980705e38268b92f394c8900bda74b9
Author: Sahil Sareen <sahil sareen hotmail com>
Date: Sun Dec 6 13:31:26 2015 +0530
Fix previous commit
autogen.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 8c10e58..941dd06 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,10 +14,10 @@ cd $srcdir
# Use the style-checker as pre-commit and pre-applypatch hooks
if [ -d $srcdir/.git ]; then
- if [ -L $srcdir/.git/hooks/pre-commit ]; then
+ if [ ! -L $srcdir/.git/hooks/pre-commit ]; then
ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/pre-commit && echo "Enabled
pre-commit style checker." || :
fi
- if [ -L $srcdir/.git/hooks/pre-applypatch ]; then
+ if [ ! -L $srcdir/.git/hooks/pre-applypatch ]; then
ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/pre-applypatch && echo "Enabled
pre-applypatch style checker." || :
fi
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]