aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/weekly
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-01-02 15:17:59 +0000
committerBrian Somers <brian@FreeBSD.org>2001-01-02 15:17:59 +0000
commit542e394c1c4a726c6dbb49174b0dd37772b65d71 (patch)
treea8eb3f573d8cca06963dab848031b06df286d260 /etc/periodic/weekly
parent41027e03dda7565147856dfacba31a6f95eed129 (diff)
downloadsrc-542e394c1c4a726c6dbb49174b0dd37772b65d71.tar.gz
src-542e394c1c4a726c6dbb49174b0dd37772b65d71.zip
Cope with ports that have multiple versions *and* have embedded ``-''s
in their name.
Notes
Notes: svn path=/head/; revision=70602
Diffstat (limited to 'etc/periodic/weekly')
-rwxr-xr-xetc/periodic/weekly/400.status-pkg2
1 files changed, 1 insertions, 1 deletions
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)