Fix prepstrip to work with restrict, thanks to flameeyes and bug 134135
authorAlec Warner <antarus@gentoo.org>
Tue, 23 May 2006 17:51:57 +0000 (17:51 -0000)
committerAlec Warner <antarus@gentoo.org>
Tue, 23 May 2006 17:51:57 +0000 (17:51 -0000)
svn path=/main/trunk/; revision=3403

bin/prepstrip

index bfee455242bf7c572049ffdf1f52691c0f10015a..fdf666a7ddc7cf375d6cd304482ff5b2df835770 100755 (executable)
@@ -6,7 +6,7 @@
 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
 
 if hasq nostrip ${FEATURES} ${RESTRICT} || \
-   hasq strip RESTRICT
+   hasq strip ${RESTRICT}
 then
        exit 0
 fi