[libgames-support] autogen: Improve style of style checker enablement code
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgames-support] autogen: Improve style of style checker enablement code
- Date: Sun, 31 Jul 2016 01:10:10 +0000 (UTC)
commit 7ad088fe95ab17233bfb35c2a38d22aee0c4a91a
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Jul 30 20:09:36 2016 -0500
autogen: Improve style of style checker enablement code
autogen.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index faa8b07..5347cb5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -10,10 +10,10 @@ test -z "$srcdir" && srcdir=.
# Use the style-checker as pre-commit and pre-applypatch hooks
if [ -d $srcdir/.git ]; then
- for HOOK in pre-commit pre-applypatch
- do
+ for HOOK in pre-commit pre-applypatch; do
if [ ! -L $srcdir/.git/hooks/$HOOK ]; then
- ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/$HOOK && echo
"Enabled $HOOK style checker."
+ ln -s ../../../libgames-support/style-checker \
+ $srcdir/.git/hooks/$HOOK && echo "Enabled $HOOK style checker."
fi
done
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]