[X2Go-Commits] [buildscripts] 01/01: bin/build-nsis-package.sh: fix find call to remove old installers.

git-admin at x2go.org git-admin at x2go.org
Tue May 12 04:22:46 CEST 2015


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

x2go pushed a commit to branch master
in repository buildscripts.

commit a66964c386b33a32499ac9aab60e9d1ba75cb366
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue May 12 03:53:28 2015 +0200

    bin/build-nsis-package.sh: fix find call to remove old installers.
---
 bin/build-nsis-package.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/build-nsis-package.sh b/bin/build-nsis-package.sh
index 934f9ca..9435a98 100755
--- a/bin/build-nsis-package.sh
+++ b/bin/build-nsis-package.sh
@@ -251,8 +251,8 @@ upload_packages() {
 		0</dev/null ssh "${REPOS_SERVER}" mkdir -p "${MINGW_REPOS_BASE}/${l_DIST}/${l_CODENAME}/"
 
 		# remove installer packages that are older than 30 days
-		0</dev/null ssh "${REPOS_SERVER}" "find \"${MINGW_REPOS_BASE}/${l_DIST}/${l_CODENAME}/*\" -mtime +30 -name \"x2goclient-*-setup.exe\" -exec rm -f \"{}\" \";\""
-		
+		0</dev/null ssh "${REPOS_SERVER}" "find \"${MINGW_REPOS_BASE}/${l_DIST}/${l_CODENAME}/\" -mtime +30 -name \"x2goclient-*-setup.exe\" -exec rm -f \"{}\" \";\""
+
 		# Ensure that the package is world-readable before being uploaded to an HTTP/HTTPS server.
 		# Otherwise, sometimes cygwin sftp/scp uploads files with 000 permissions.
 		# What probably happens is that Cygwin is enumerates the windows permissions as a bunch of ACLs, and sets the octal permissions to 000.

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