index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-05-18 16:00:37 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-18 16:00:37 +0200 |
commit | 5ddd97920ded5c0cbcecfd5c46c170cb4d235d31 (patch) | |
tree | 95f3858147d0b951e036cc5dd10c6f00c81aecec /bin | |
parent | a17e5c2691bc234e791dd3fccaf14882d2b6e273 (diff) |
-rwxr-xr-x | bin/return-assignment | 7 |
diff --git a/bin/return-assignment b/bin/return-assignment index 0f000f3..53708a7 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -130,10 +130,9 @@ mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i686/$4-staging/" ) # remove all loops which are broken by this package -sed '1d' "${work_dir}/package-states/$1.$2.$3.$4.locked" | \ - sort -u | \ - sed 'p;s|$|.locked|' | \ - xargs -rn1 rm -f +grep "^${1//./\\.}\$" "${work_dir}/build-list.loops/loop_"* 2> /dev/null | \ + cut -d: -f1 | \ + xargs -rn1 rm # remove package from build list sed -i "/^${1//./\\.} $2 $3 $4\$/d" "${work_dir}/build-list" |