Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync-push: Create relative symlinks instead of absolute #1534

Merged
merged 1 commit into from
Mar 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/sync-push
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ ceph_sync() {

# Since paths are listed alphabetically/numerically in the first `for` loop, the last $version is what gets used for the new symlink below.
if $newgen; then
ssh signer@download.ceph.com "ln -sfn /data/download.ceph.com/www/debian-$version /data/download.ceph.com/www/debian-$release; \
ln -sfn /data/download.ceph.com/www/rpm-$version /data/download.ceph.com/www/rpm-$release"
ssh signer@download.ceph.com "cd /data/download.ceph.com/www/; \
ln -sfn debian-$version debian-$release; \
ln -sfn rpm-$version rpm-$release"
fi
}

Expand Down