Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorRalf Sternberg2010-06-28 06:54:24 +0000
committerRalf Sternberg2010-06-28 06:54:24 +0000
commitf5cb9a26eabdaedcef9d9a5b24f32d7ff072e64c (patch)
tree80e18aedc7dfa0c65912dbc5aa29debe7ee030f8 /releng
parente6cc6a198c365b2faf9ac39391e87de373e105f1 (diff)
downloadorg.eclipse.rap-f5cb9a26eabdaedcef9d9a5b24f32d7ff072e64c.tar.gz
org.eclipse.rap-f5cb9a26eabdaedcef9d9a5b24f32d7ff072e64c.tar.xz
org.eclipse.rap-f5cb9a26eabdaedcef9d9a5b24f32d7ff072e64c.zip
Avoid -t in publish script that could confuse mirroring
Diffstat (limited to 'releng')
-rwxr-xr-xreleng/org.eclipse.rap.releng/scripts/publish.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/releng/org.eclipse.rap.releng/scripts/publish.sh b/releng/org.eclipse.rap.releng/scripts/publish.sh
index 15b0d56e71..455d19aed2 100755
--- a/releng/org.eclipse.rap.releng/scripts/publish.sh
+++ b/releng/org.eclipse.rap.releng/scripts/publish.sh
@@ -393,6 +393,7 @@ if [ -n "$ZIP_DOWNLOAD_PATH" ]; then
echo check local file before uploading: upload-$INPUT_ARCHIVE_NAME
echo -n "press Return to upload "
read c
+ # avoid -t, timestamps may confuse mirroring on dev.eclipse.org
rsync -v --progress \
upload-$INPUT_ARCHIVE_NAME \
$BUILD_USER@dev.eclipse.org:$DOWNLOAD_LOCATION/$ZIP_DOWNLOAD_PATH/$INPUT_ARCHIVE_NAME
@@ -408,7 +409,7 @@ if [ -n "$REPOSITORY_PATH" ]; then
echo "update local copy of repository..."
mkdir -p mirror
localCopy=mirror/${REPOSITORY_PATH/\//_}
- rsync -av --delete --progress \
+ rsync -r -v --delete --progress \
$BUILD_USER@dev.eclipse.org:$DOWNLOAD_LOCATION/$REPOSITORY_PATH/ \
$localCopy/ || return 1
echo "downloaded old repository to $localCopy"
@@ -431,7 +432,8 @@ if [ -n "$REPOSITORY_PATH" ]; then
echo check local repository before uploading: $localCopy
echo -n "press Return to upload "
read c
- rsync -av --delete --progress \
+ # avoid -t, timestamps may confuse mirroring on dev.eclipse.org
+ rsync -r -v --delete --progress \
$localCopy/ \
$BUILD_USER@dev.eclipse.org:$DOWNLOAD_LOCATION/$REPOSITORY_PATH/ || exit 1
fi

Back to the top