[sysadmin-bin: 1/6] Fix broken test in pre-receive-check-po



commit 1a10417563f1cf9baa206bc6aed6abc0a431d4b6
Author: Michael Gratton <mike vee net>
Date:   Wed Apr 3 02:15:30 2019 +1100

    Fix broken test in pre-receive-check-po

 git/pre-receive-check-po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/pre-receive-check-po b/git/pre-receive-check-po
old mode 100755
new mode 100644
index b3abe58..ce6a55b
--- a/git/pre-receive-check-po
+++ b/git/pre-receive-check-po
@@ -106,7 +106,7 @@ check_pos() {
     fi
 
     branch_message=
-    if [ "x$branchname" != "master" ] ; then
+    if [ "$branchname" != "master" ] ; then
        branch_message=" (When updating branch '$branchname'.)"
     fi
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]