From 1fda929da494e2219aa26efa0dde5ced23e5d440 Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Tue, 27 Jan 2015 16:03:49 -0800 Subject: [PATCH] Improve windows installer copying script --- scripts/admin/copy-windows-installer-from-jenkins.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/admin/copy-windows-installer-from-jenkins.sh b/scripts/admin/copy-windows-installer-from-jenkins.sh index e951b018f3..1e50b588a0 100755 --- a/scripts/admin/copy-windows-installer-from-jenkins.sh +++ b/scripts/admin/copy-windows-installer-from-jenkins.sh @@ -1,5 +1,6 @@ #!/bin/bash +# Run this script on Mac/Linux, not on Windows # Requires s3cmd to be installed and an appropriate ~/.s3cfg. # Usage: # scripts/admin/copy-windows-installer-from-jenkins.sh BUILDNUMBER @@ -8,7 +9,7 @@ set -e set -u -cd "`dirname "$0"`" +cd "$(dirname "$0")" TARGET="s3://meteor-windows/installers/" @@ -28,7 +29,7 @@ fi echo Found build $DIRNAME -if ! s3cmd info s3://com.meteor.jenkins/$DIRNAME/InstallMeteor.exe +if ! s3cmd info "s3://com.meteor.jenkins/$DIRNAME/InstallMeteor.exe" then echo "InstallMeteor.exe wasn't found in $DIRNAME, did Jenkins job fail?" exit 1