Skip to content

Commit

Permalink
Let scp fail instead of hang (if asking for pass)
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Feb 6, 2018
1 parent ecd41af commit 53aee03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/pharo/deploy-files.pharo.org.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ do_upload() {
fi
for productPath in "${PHARO_PRODUCTS_DIR}"/*.${extension}; do
productName="$(basename "${productPath}")"
echo "Uploading $productName to files.pharo.org/$destDir"
scp $productPath files.pharo.org:$destDir/$productName
echo "Uploading $productName to files.pharo.org:$destDir"
scp -B $productPath files.pharo.org:$destDir/$productName
if [[ "$HEARTBEAT" = "threaded" ]]; then
SUFFIX="-threaded"
fi
echo "Uploading $productName to files.pharo.org/$destDir/latest$SUFFIX.${extension}"
scp $productPath files.pharo.org:$destDir/latest$SUFFIX.${extension}
echo "Uploading $productName to files.pharo.org:$destDir/latest$SUFFIX.${extension}"
scp -B $productPath files.pharo.org:$destDir/latest$SUFFIX.${extension}
done
}

Expand Down

0 comments on commit 53aee03

Please sign in to comment.