[X2Go-Commits] [x2goclient] 83/87: 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 Mar 4 22:15:02 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 ab07861c894cbc5e797186c69fec5ce06e4fc9ae
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 87b2515..b65d53e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -249,6 +249,8 @@ x2goclient (4.0.3.2-0x2go1) unstable; 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.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Thu, 19 Feb 2015 12:49:22 +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/code.x2go.org/x2goclient.git//../..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list