[X2Go-Commits] [buildscripts] 01/01: bin/build-osx-package: chmod on OS X does not support the "end of parameters" marker.

git-admin at x2go.org git-admin at x2go.org
Thu Apr 6 09:24:51 CEST 2017


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

x2go pushed a commit to branch master
in repository buildscripts.

commit 3a1df18b8b74b84b0fa08662abe8d6f30fd608b7
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Apr 6 09:24:22 2017 +0200

    bin/build-osx-package: chmod on OS X does not support the "end of parameters" marker.
---
 bin/build-osx-package | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/build-osx-package b/bin/build-osx-package
index 0ad9bc7..bce69c0 100755
--- a/bin/build-osx-package
+++ b/bin/build-osx-package
@@ -77,7 +77,7 @@ trap cleanup ERR EXIT SIGTERM SIGINT SIGHUP SIGPIPE SIGALRM SIGUSR1 SIGUSR2
 set_vars() {
 	TEMP_BASE="${HOME}/tmp/"
 	mkdir -p -- "${TEMP_BASE}"
-	chmod 2770 -- "${TEMP_BASE}"
+	chmod 2770 "${TEMP_BASE}"
 
 	# first argv is the name of the Git project
 	PROJECT_PATH="${1}"
@@ -209,7 +209,7 @@ build_packages() {
 			typeset temp_dir="$(mktemp -d "${TEMP_BASE}/tmp.$(repeat_str "X" "24")")"
 			temp_cleanup+=("${temp_dir}")
 			mkdir -p -- "${temp_dir}/${PROJECT}"
-			chmod 2770 -Rf -- "${temp_dir}"
+			chmod 2770 -Rf "${temp_dir}"
 
 			cd "${PROJECT_DIR}"
 			git clone --no-hardlinks --no-local "${PROJECT_DIR}" "${temp_dir}/${PROJECT}/"

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


More information about the x2go-commits mailing list