Skip to content

Commit

Permalink
Preserve file times; needed for --link-dest to consider files ident…
Browse files Browse the repository at this point in the history
…ical
  • Loading branch information
matyasselmeci committed Oct 17, 2023
1 parent db5f06e commit 2b6b8e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pull_condor_rpms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ esac
# get every build available for that package from every applicable condor repo
RSYNC_URL="$RSYNC_ROOT/$CONDOR_SERIES/$DVER/x86_64/$CONDOR_REPO/$SOURCE_SET*.rpm"
echo "rsyncing $RSYNC_URL to $NEW_REPO_DIR"
if ! rsync $RSYNC_URL $NEW_REPO_DIR --link-dest $CURRENT_REPO_DIR; then
if ! rsync --times $RSYNC_URL $NEW_REPO_DIR --link-dest $CURRENT_REPO_DIR; then
echo "Warning: No packages found for $RSYNC_URL. Skipping"
fi

0 comments on commit 2b6b8e7

Please sign in to comment.