[X2Go-Commits] [maintenancescripts] 03/10: git/hooks/common.sh: fix typo in conditional command.

git-admin at x2go.org git-admin at x2go.org
Mon Feb 23 21:34:41 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 17f1f9f7e1fc93626ab75b94ecadec8f021c1ef5
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Feb 23 21:04:27 2015 +0100

    git/hooks/common.sh: fix typo in conditional command.
---
 git/hooks/common.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git/hooks/common.sh b/git/hooks/common.sh
index d40f2a7..1cd8118 100755
--- a/git/hooks/common.sh
+++ b/git/hooks/common.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-if [[ "$(git rev-parse --is-bare-directory)" = "true" ]] then
+if [ "$(git rev-parse --is-bare-directory)" = "true" ]; then
   GIT_REPO_NAME="$(basename "${PWD}")"
   OUTSIDE_REPO="/../"
 else

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list