From 6a98dad57677f20a491d0dc4a09a88ed853959dd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 8 Jun 2017 09:29:59 +0200 Subject: bin/get-assignment: remove old state files on handing out new assignment --- bin/return-assignment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/return-assignment') 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\.[^.]\+\$" | \ -- cgit v1.2.3-54-g00ecf