summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike DePaulo <mikedep333@gmail.com>2014-07-13 11:47:42 -0400
committerMike DePaulo <mikedep333@gmail.com>2014-07-13 11:47:42 -0400
commit6476b13eea591fa3ed5aa66ff4f8f54f5f3df6db (patch)
tree8b2d8212c1dd0980df3005ca002e7857eb2681cb
parentf23bb23feee9276c659582aa703265cc41fe402c (diff)
downloadbuildscripts-6476b13eea591fa3ed5aa66ff4f8f54f5f3df6db.tar.gz
buildscripts-6476b13eea591fa3ed5aa66ff4f8f54f5f3df6db.tar.bz2
buildscripts-6476b13eea591fa3ed5aa66ff4f8f54f5f3df6db.zip
Fix Windows build by commenting out the chmod line.
-rwxr-xr-xbin/build-nsis-package.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/build-nsis-package.sh b/bin/build-nsis-package.sh
index 845197b..07ede9c 100755
--- a/bin/build-nsis-package.sh
+++ b/bin/build-nsis-package.sh
@@ -241,7 +241,13 @@ upload_packages() {
# 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.
- chmod a+r /cygdrive/d/Build/GIT/nightly/$PROJECT/nsis/$PROJECT-*-setup.exe
+ #
+ # 2014-07-13
+ # Commenting this out because for some reason, it could not find the files, thus causing the build to fail.
+ # Furthermore, the permissions on the uploaded builds are fine right now.
+ # The file not found error was:
+ # chmod: Zugriff auf »/cygdrive/d/Build/GIT/nightly/x2goclient/nsis/x2goclient-*-setup.exe“ nicht möglich: Datei oder Verzeichnis nicht gefunden
+ # chmod a+r /cygdrive/d/Build/GIT/nightly/$PROJECT/nsis/$PROJECT-*-setup.exe
# copy new installer to download location
# FIXME: this should work scp /cygdrive/d/Build/pkg-dist/$l_DIST/$l_CODENAME/i386/$PROJECT-*-setup.exe" "$MINGW_REPOS_BASE/$l_DIST/$l_CODENAME/"