Skip to content

Commit 53aee03

Browse files
committed
Let scp fail instead of hang (if asking for pass)
1 parent ecd41af commit 53aee03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deploy/pharo/deploy-files.pharo.org.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ do_upload() {
4141
fi
4242
for productPath in "${PHARO_PRODUCTS_DIR}"/*.${extension}; do
4343
productName="$(basename "${productPath}")"
44-
echo "Uploading $productName to files.pharo.org/$destDir"
45-
scp $productPath files.pharo.org:$destDir/$productName
44+
echo "Uploading $productName to files.pharo.org:$destDir"
45+
scp -B $productPath files.pharo.org:$destDir/$productName
4646
if [[ "$HEARTBEAT" = "threaded" ]]; then
4747
SUFFIX="-threaded"
4848
fi
49-
echo "Uploading $productName to files.pharo.org/$destDir/latest$SUFFIX.${extension}"
50-
scp $productPath files.pharo.org:$destDir/latest$SUFFIX.${extension}
49+
echo "Uploading $productName to files.pharo.org:$destDir/latest$SUFFIX.${extension}"
50+
scp -B $productPath files.pharo.org:$destDir/latest$SUFFIX.${extension}
5151
done
5252
}
5353

0 commit comments

Comments
 (0)