[X2Go-Commits] [maintenancescripts] 01/03: git/misc/setup-repository: fix indentation and general whitespace issues.
git-admin at x2go.org
git-admin at x2go.org
Mon Mar 9 00:21:03 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository maintenancescripts.
commit fbfffea3d1b6baf9ce69b36787ae7b38a9de601c
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Mar 9 00:17:24 2015 +0100
git/misc/setup-repository: fix indentation and general whitespace issues.
---
git/misc/setup-repository | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/git/misc/setup-repository b/git/misc/setup-repository
index 1594cb9..b7545b8 100755
--- a/git/misc/setup-repository
+++ b/git/misc/setup-repository
@@ -15,9 +15,9 @@ Options:
\t<description> is a description for the git repository.
\t\tIt should be something like 'Packaging for <package>'."
-if [ "$#" -ne "2" ]; then
- echo -e "${USAGE}"
- exit 1
+if [ "${#}" -ne "2" ]; then
+ echo -e "${USAGE}"
+ exit 1
fi
PACKAGE="$1"
@@ -33,14 +33,14 @@ git config --add core.logallrefupdates true
echo "$DESCRIPTION" >description
# Enable the hook scripts
-[ -f hooks/post-receive ] || {
- cp -L /srv/git/_hooks_/post-receive._code.x2go.org_ hooks/post-receive.tmp
- chmod 0660 hooks/post-receive.tmp
+[ -f hooks/post-receive ] || {
+ cp -L /srv/git/_hooks_/post-receive._code.x2go.org_ hooks/post-receive.tmp
+ chmod 0660 hooks/post-receive.tmp
}
[ -f hooks/update ] || {
- cp -L /srv/git/_hooks_/update._code.x2go.org_ hooks/update.tmp
- chmod 0660 hooks/update.tmp
+ cp -L /srv/git/_hooks_/update._code.x2go.org_ hooks/update.tmp
+ chmod 0660 hooks/update.tmp
}
# set up ACLs
--
Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
More information about the x2go-commits
mailing list