From c9897d84bff4d2f484090661888f31c938be4947 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 10 Jun 2017 14:42:20 +0200 Subject: bin/return-assignment: write names of packages into done-marker file --- bin/return-assignment | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/return-assignment b/bin/return-assignment index 04648ca..62b0796 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -170,4 +170,6 @@ grep "^${1//./\\.}\$" "${work_dir}/build-list.loops/loop_"* 2> /dev/null | \ sed -i "/^${1//./\\.} $2 $3 $4\$/d" "${work_dir}/build-list" # remove package lock file -mv "${work_dir}/package-states/$1.$2.$3.$4."{locked,done} +printf '%s\n' "${packages[@]}" > \ + "${work_dir}/package-states/$1.$2.$3.$4.done" +rm "${work_dir}/package-states/$1.$2.$3.$4.locked" -- cgit v1.2.3-70-g09d2