FreeBSD Bugzilla – Attachment 80723 Details for
Bug 115733
[PATCH] ports-mgmt/portconf: support multiple ports per line
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
portconf-1.2.patch
portconf-1.2.patch (text/plain), 956 bytes, created by
Sean Farley
on 2007-08-22 21:50:01 UTC
(
hide
)
Description:
portconf-1.2.patch
Filename:
MIME Type:
Creator:
Sean Farley
Created:
2007-08-22 21:50:01 UTC
Size:
956 bytes
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/ports-mgmt/portconf.orig/files/portconf.sh.in /usr/ports/ports-mgmt/portconf/files/portconf.sh.in >--- /usr/ports/ports-mgmt/portconf.orig/files/portconf.sh.in 2006-09-06 07:50:31.000000000 -0500 >+++ /usr/ports/ports-mgmt/portconf/files/portconf.sh.in 2007-08-22 15:39:11.000000000 -0500 >@@ -1,4 +1,4 @@ >-#! /bin/sh >+#! /bin/sh -f > # > # Copyright (c) 2006 Florent Thoumie <flz@FreeBSD.org>, > # Alex Dupre <ale@FreeBSD.org> >@@ -34,8 +34,9 @@ > fi > _pwd=`pwd` > sed '/^#/d;/^[[:space:]]*$/d' "${_conf}" | while read _line; do >- _port=${_line%%:*} >- if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then >- echo ${_line#*:} | sed -E 's/([A-Z0-9_]+)(=([^|]+))?/\1=\3/g;s/ *\| */|/g;s/ /%/g' >- fi >+ for _port in ${_line%%:*}; do >+ if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then >+ echo ${_line#*:} | sed -E 's/([A-Z0-9_]+)(=([^|]+))?/\1=\3/g;s/ *\| */|/g;s/ /%/g' >+ fi >+ done > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 115733
: 80723