From 5920344071d2123f9a1924df18f435b720aa9998 Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 2 Jan 2001 15:17:59 +0000 Subject: [PATCH] Cope with ports that have multiple versions *and* have embedded ``-''s in their name. --- etc/periodic/weekly/400.status-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/periodic/weekly/400.status-pkg b/etc/periodic/weekly/400.status-pkg index 3bbe03ff9cbe..e9bd5d02f0c6 100755 --- a/etc/periodic/weekly/400.status-pkg +++ b/etc/periodic/weekly/400.status-pkg @@ -18,7 +18,7 @@ case "$weekly_status_pkg_enable" in rc=$(pkg_version -v | sed -n -e 's/^\([^ ]*\) *< */ \1 /p' \ - -e '/^[^-]*-\([^ ]*\) *\* *multiple versions.*[ ,]\1[,)].*/d' \ + -e '/^[^ ]*-\([^ ]*\) *\* *multiple versions.*[ ,]\1[,)].*/d' \ -e 's/^\([^ ]*\) *\* *multiple versions.*\((.*\)/ \1 needs updating \2/p' | tee /dev/stderr | wc -l)