From d3c0f340aaadeb57f4d4c4a94d4c3d2a3a4ed429 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 5 May 2017 10:24:44 +0200 Subject: bin/return-assignment: bugfix, add some comment --- bin/return-assignment | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/return-assignment b/bin/return-assignment index a010dd4..2528b44 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -2,13 +2,15 @@ # report back on a build assignment # either on success via: -# "$0 $package $revision $repository" and tar'ed packages on stdin +# "$0 $package $revision $repository" and tar'ed packages (= a tar of +# package(s) and signature(s)) on stdin # or on failure via: # "$0 $package $revision $repository ERROR" # TODO: # properly handle if built package is out of date # sign package database +# use lock file(s) . "${0%/*}/../conf/default.conf" @@ -51,7 +53,7 @@ repo-add "$3-staging.db.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz$') #repo-add -v -s -k "${repo_key}" "$3-staging.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz$') # remove all loops which are broken by this package -sed '1d' "${work_dir}/package-states/$1.$2.$3" | \ +sed '1d' "${work_dir}/package-states/$1.$2.$3.locked" | \ sort -u | \ sed 'p;s|$|.locked|' | \ xargs -rn1 rm -f -- cgit v1.2.3-70-g09d2