Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-22 16:43:40 +0200
committerErich Eckner <git@eckner.net>2017-06-22 16:43:40 +0200
commit0e13adff76c5ab655df3b9fb0dcd28b4df5083f5 (patch)
tree2e0922a2550b6776ca790545a68bbed234af6be3 /bin/get-assignment
parentb46ff981026ec7541b23c131c0c77b984fd33cae (diff)
remove "grep ... part1*part2" bug
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index c028007..e46dd39 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -40,8 +40,7 @@ hand_out_assignment() {
echo "${slave}" > "${work_dir}/package-states/$1.$2.$3.$4.locked"
# lock every loop this package breaks
- grep -xF "${1}" "${work_dir}/build-list.loops/"loop_* | \
- cut -d: -f1 | \
+ grep -lxF "${1}" "${work_dir}/build-list.loops/"loop_* | \
tee -a "${work_dir}/package-states/$1.$2.$3.$4.locked" | \
sed 's|$|.locked|' | \
xargs -rn1 touch