Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-14 15:02:17 +0200
committerErich Eckner <git@eckner.net>2017-06-14 15:02:17 +0200
commit83f4fcd756123ebd5bf8011a9e517946dab04a4f (patch)
treec9951107fcca0c3748e74d3f811a6f44054e07fc /bin/return-assignment
parent0895111b46d714365d5189b2652ffc246e43ba9d (diff)
bin/return-assignment: do not delete .testing markers
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 40f5b1c..2262c0a 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -156,6 +156,7 @@ mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i686/${destination}/"
ls "${work_dir}/package-states" | \
grep "^${1//./\\.}\(\.[^.]\+\)\{4\}\$" | \
grep -v "^${1//./\\.}\.$2\.$3\.$4\.[^.]\+\$" | \
+ grep -v '\.testing$' | \
sed "s|^|${work_dir}/package-states/|" | \
xargs -rn1 rm -f