From e152c669d0c38cab9c20f3c739dcbb2bb6515289 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 3 Feb 2006 03:09:19 +0000 Subject: [PATCH] grab some fixes from prepstrip script svn path=/main/trunk/; revision=2629 --- bin/prepallstrip | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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}" -- 2.26.2