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-08 09:29:59 +0200
committerErich Eckner <git@eckner.net>2017-06-08 09:29:59 +0200
commit6a98dad57677f20a491d0dc4a09a88ed853959dd (patch)
treecba63c5af68f440ba9faa031bbaabe76acf763a0 /bin/return-assignment
parent8bc44560983956a18f5c5e4b896f291378a063d1 (diff)
bin/get-assignment: remove old state files on handing out new assignment
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 2169729..b217409 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -146,7 +146,8 @@ mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i686/staging/"
done
)
-# remove old stage files
+# remove old stage files (these should be only "done" markers, but
+# actually we don't care what it is)
ls "${work_dir}/package-states" | \
grep "^${1//./\\.}\(\.[^.]\+\)\{4\}\$" | \
grep -v "^${1//./\\.}\.$2\.$3\.$4\.[^.]\+\$" | \