projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1823e1e
)
if STRIP begins with a -, make sure type doesnt error out
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 1 Nov 2005 01:33:02 +0000
(
01:33
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 1 Nov 2005 01:33:02 +0000
(
01:33
-0000)
svn path=/main/branches/2.0/; revision=2223
bin/prepstrip
patch
|
blob
|
history
diff --git
a/bin/prepstrip
b/bin/prepstrip
index ed3e6f6478f7013653c756afd892c5d1235c7eb6..eadc5b2452060ac7890c5330be8239977054c95a 100755
(executable)
--- a/
bin/prepstrip
+++ b/
bin/prepstrip
@@
-8,8
+8,8
@@
if [ "${FEATURES//*nostrip*/true}" == "true" ] || [ "${RESTRICT//*nostrip*/true}
STRIP="/bin/false"
PORTAGE_STRIP_FLAGS=""
else
- STRIP=
"${STRIP:-${CHOST}-strip}"
- type -p ${STRIP} > /dev/null || STRIP=strip
+ STRIP=
${STRIP:-${CHOST}-strip}
+ type -p
--
${STRIP} > /dev/null || STRIP=strip
PORTAGE_STRIP_FLAGS=${PORTAGE_STRIP_FLAGS:---strip-unneeded}
fi