Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/return-assignment4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 01ea4cd..ba9dac4 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -160,10 +160,10 @@ if [ "$6" = 'ERROR' ]; then
for saved_build_log in ${saved_build_logs}; do
printf '%s\n' "${fail_reason_identifiers}" | \
while read -r reason_id identifier; do
- if zgrep -qx "$(
+ if zgrep -qx "\s*$(
printf '%s' "${identifier}" | \
base64 -d
- )" \
+ )\s*" \
"${build_log_directory}/error/$1.$2.$3.$4.$5.${saved_build_log}"; then
printf ' (from_base64("%s"),%s,from_base64("%s")),' \