Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 100373 | Differences between
and this patch

Collapse All | Expand All

(-)./gentoo (-1 / +1 lines)
Lines 24-30 _portdir() Link Here
24
        /etc/make.{conf,globals} 2>/dev/null
24
        /etc/make.{conf,globals} 2>/dev/null
25
25
26
    if [[ $1 == '-o' ]] ; then
26
    if [[ $1 == '-o' ]] ; then
27
        sed -n -e '/^PORTDIR_OVERLAY=/ { s/^[^=]\+="\?\([^"]\+\|\S\+\).*/\1/p ; q }' \
27
        sed -n -e '/^PORTDIR_OVERLAY=/ { s/^[^=]\+=\("\?\)\([^"]\+\).*\1/\2/ ; ta ; s/^[^=]\+="\?// ; { :b ; N ; s/".*// ; tc ; bb ; :c ; s/\\\?\n/ /g } ; :a ; p ; q }' \
28
            /etc/make.conf 2>/dev/null
28
            /etc/make.conf 2>/dev/null
29
    fi
29
    fi
30
}
30
}

Return to bug 100373