index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-30 18:37:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-30 18:37:08 +0200 |
commit | 0381cb4d209cebdd8fcc69e2ed0186eb45da6ec1 (patch) | |
tree | a5a1f65e46a67d953317c34df97ff430bceef0f7 | |
parent | 85d5972e1ea0699c333e7491203743f9dc727c6a (diff) |
-rwxr-xr-x | bin/return-assignment | 9 |
diff --git a/bin/return-assignment b/bin/return-assignment index ac2e4c0..d2c0b7f 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -519,11 +519,10 @@ ${master_mirror_rsync_command} \ "${master_mirror_rsync_directory}/pool/" # create symlinks -find . \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' \) -printf '%f\n' | \ - while read -r file; do - rm "${file}" - ln -s "../../pool/${file}" "${file}" - done +find . \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' \) \ + -delete \ + -printf 'ln -s "../../pool/%f" "i686/'"${destination}"'/%f"\n' | \ + ${master_mirror_sftp_command} # upload the database and the symlinks into /$arch/$repo ${master_mirror_rsync_command} \ |