summaryrefslogtreecommitdiff
path: root/pin-dependencies.PKGBUILDpatch
diff options
context:
space:
mode:
Diffstat (limited to 'pin-dependencies.PKGBUILDpatch')
-rw-r--r--pin-dependencies.PKGBUILDpatch10
1 files changed, 8 insertions, 2 deletions
diff --git a/pin-dependencies.PKGBUILDpatch b/pin-dependencies.PKGBUILDpatch
index 9926eea1b..a3ae3b53e 100644
--- a/pin-dependencies.PKGBUILDpatch
+++ b/pin-dependencies.PKGBUILDpatch
@@ -59,11 +59,17 @@ if printf '%s\n' "${arch[@]}" | grep -qvxF any; then
printf '%s\n' "${_pkg}"
fi
done \
- | sed 's/[<>]\?=.*$//' \
+ | sed '
+ s/[<>]\?=.*$//
+ /^$/d
+ ' \
| sort -u
) <(
eval 'printf '"'"'%s\n'"'"' "${_pinned_dependencies[@]}" "${_pinned_dependencies_'"${CARCH}"'[@]}"' \
- | sed 's/[<>]\?=.*$//' \
+ | sed '
+ s/[<>]\?=.*$//
+ /^$/d
+ ' \
| sort -u
)
); then