[X2Go-Commits] [x2goclient] 04/07: macbuild.sh: Remove 'function' keyword, as it's causing undefined behavior according to SUS.

git-admin at x2go.org git-admin at x2go.org
Wed Feb 18 03:40:37 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/cleanup
in repository x2goclient.

commit 8f1ebda3760f85c12471988387276481cb3955f5
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Feb 18 03:16:09 2015 +0100

    macbuild.sh: Remove 'function' keyword, as it's causing undefined behavior according to SUS.
---
 debian/changelog |    2 ++
 macbuild.sh      |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0ca168a..50e5758 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -225,6 +225,8 @@ x2goclient (4.0.3.2-0x2go1) UNRELEASED; urgency=medium
       Removes the need to redundantly specify the variable name.
     - App bundle and dmg file will be automatically removed when removing the
       client build directory. Remove redundancy from macbuild.sh.
+    - Remove 'function' keyword in macbuild.sh, as it's causing undefined
+      behavior according to SUS.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Thu, 27 Nov 2014 12:01:43 +0100
 
diff --git a/macbuild.sh b/macbuild.sh
index 27e4988..9e6ba76 100755
--- a/macbuild.sh
+++ b/macbuild.sh
@@ -39,7 +39,7 @@ fi
 
 set -e
 
-function phase() {
+phase() {
 	echo
 	echo "***"
 	echo "*** ${1}..."

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


More information about the x2go-commits mailing list