[X2Go-Commits] [buildscripts] 01/01: bin/build-osx-package: parameter order is important for OS X' chmod implementation.

git-admin at x2go.org git-admin at x2go.org
Thu Apr 6 09:52:18 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 7b512087275527e5d01d00fc38b09af6935bcad8
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Apr 6 09:51:45 2017 +0200

    bin/build-osx-package: parameter order is important for OS X' chmod implementation.
---
 bin/build-osx-package | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build-osx-package b/bin/build-osx-package
index 046fc0a..e20379d 100755
--- a/bin/build-osx-package
+++ b/bin/build-osx-package
@@ -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 -Rf 2770 "${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