View | Details | Raw Unified | Return to bug 172355
Collapse All | Expand All

(-)/usr/local/libexec/portconf 2012-10-05 15:14:08.000000000 +0200 (-1 / +1 lines)
Lines 36-42 Link Here
36
sed '/^#/d;/^[[:space:]]*$/d' "${_conf}" | while read _line; do
36
sed '/^#/d;/^[[:space:]]*$/d' "${_conf}" | while read _line; do
37
    for _port in ${_line%%:*}; do
37
    for _port in ${_line%%:*}; do
38
        if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then
38
        if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then
39
            echo ${_line#*:} | sed -E 's/([A-Za-z0-9_]+)(=([^|]+))?/\1=\3/g;s/!([A-Za-z0-9_]+)=([^|]+)?/.undef \1/g;s/ *\| */|/g;s/ /%/g'
39
            echo ${_line#*:} | sed -E 's/([A-Za-z0-9_\-]+\+?)(=([^|]+))?/\1=\3/g;s/!([A-Za-z0-9_]+)=([^|]+)?/.undef \1/g;s/ *\| */|/g;s/ /%/g'
40
        fi
40
        fi
41
    done
41
    done
42
done
42
done

Return to bug 172355