[X2Go-Commits] [buildscripts] 02/04: bin/build-rpm-package: be safe and terminate options in chmod call.

git-admin at x2go.org git-admin at x2go.org
Sat Oct 29 01:16:41 CEST 2016


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

x2go pushed a commit to branch master
in repository buildscripts.

commit fec56c7b30b5c30e7d41029ef9147e65948eb36a
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Oct 29 01:11:10 2016 +0200

    bin/build-rpm-package: be safe and terminate options in chmod call.
---
 bin/build-rpm-package |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 0f27945..9005137 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -129,7 +129,7 @@ trap cleanup ERR EXIT SIGTERM SIGINT SIGHUP SIGPIPE SIGALRM SIGUSR1 SIGUSR2
 
 set_vars() {
 	mkdir -p -- "${TEMP_BASE}"
-	chmod 2770 "${TEMP_BASE}"
+	chmod 2770 -- "${TEMP_BASE}"
 
 	# first argv is the name of the Git project
 	PROJECT_PATH="${1}"

--
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