From: Mike Frysinger Date: Fri, 3 Feb 2006 03:09:19 +0000 (-0000) Subject: grab some fixes from prepstrip script X-Git-Tag: v2.1_pre5_2760~107 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e152c669d0c38cab9c20f3c739dcbb2bb6515289;p=portage.git grab some fixes from prepstrip script svn path=/main/trunk/; revision=2629 --- diff --git a/bin/prepallstrip b/bin/prepallstrip index fdcaa41b1..19cdf9d21 100755 --- a/bin/prepallstrip +++ b/bin/prepallstrip @@ -3,9 +3,12 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/prepallstrip,v 1.12 2004/10/04 13:56:50 vapier Exp $ -if [ "${FEATURES//*nostrip*/true}" == "true" ] || [ "${RESTRICT//*nostrip*/true}" == "true" ] ; then +if [[ " ${FEATURES} " == *" nostrip "* ]] || \ + [[ " ${RESTRICT} " == *" nostrip "* ]] || \ + [[ " ${RESTRICT} " == *" strip "* ]] +then exit 0 fi echo "prepallstrip:" -prepstrip "${D}" +exec prepstrip "${D}"