index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-05-23 12:49:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-23 12:49:07 +0200 |
commit | ac219a775d25a3bc43c9440c0914d07872f0eff7 (patch) | |
tree | f993ebda4782d6ffca1ae1dec0c5373e024d22f2 /bin/return-assignment | |
parent | a6826d61079f9d725a33834798f6c6918dfbe328 (diff) |
-rwxr-xr-x | bin/return-assignment | 3 |
diff --git a/bin/return-assignment b/bin/return-assignment index bcba543..308e9a0 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -42,7 +42,8 @@ if [ "$5" == 'ERROR' ]; then # unlock every loop this package would have broken and which is not # broken by another locked package locked_packages="$( - ls "${work_dir}/package-states/"*".locked" | \ + ls "${work_dir}/package-states/" | \ + grep '\.locked$' | \ sed 's@^.*/\([^/]\+\)\.\([0-9a-f]\{40\}\.\)\{2\}[^.]\+\.locked$@\1@' )" grep "^${1//./\\.}\$" "${work_dir}/build-list.loops/loop_"* 2> /dev/null | \ |