Skip to content

Commit 31bcf9b

Browse files
authored
Merge pull request aurutils#1211 from aurutils/graph-pacini
sync: preprocess .SRCINFO with pacini
2 parents c4ad5dd + c0eaf69 commit 31bcf9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/aur-sync

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,12 @@ if (( auto_key_retrieve )); then
427427
fi
428428

429429
# Verify dependency tree (#20)
430+
# Use pacini to preprocess .SRCINFO to avoid CRLF (#1203)
430431
if (( graph )); then
431432
if ! { while read -r pkg; do
432433
[[ $pkg ]] && printf '%s\0' "$pkg/.SRCINFO"
433434
done
434-
} | xargs -0 cat -- | aur graph "${graph_args[@]}" REVERSE=1
435+
} | xargs -0 cat -- | pacini | aur graph "${graph_args[@]}" REVERSE=1
435436
then
436437
printf >&2 '%s: failed to verify dependency graph\n' "$argv0"
437438
exit 1

0 commit comments

Comments
 (0)