summaryrefslogtreecommitdiffstats
path: root/bin/prepstrip
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-04-16 01:16:50 +0000
committerZac Medico <zmedico@gentoo.org>2007-04-16 01:16:50 +0000
commit8088ca8bbe6b202f7377b28ef29292ebe4aa97ca (patch)
treeec3844cda30d723551a6fc63c95acea5a8b97dbc /bin/prepstrip
parentc14c076250b5123f52ca4fd64cc32dab7595adf1 (diff)
downloadportage-8088ca8bbe6b202f7377b28ef29292ebe4aa97ca.tar.gz
portage-8088ca8bbe6b202f7377b28ef29292ebe4aa97ca.tar.bz2
portage-8088ca8bbe6b202f7377b28ef29292ebe4aa97ca.zip
convert `type -p` to `type -P` as noted by grobian (trunk r6410:6411)v2.1.2.4
svn path=/main/branches/2.1.2/; revision=6414
Diffstat (limited to 'bin/prepstrip')
-rwxr-xr-xbin/prepstrip4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prepstrip b/bin/prepstrip
index d903a649e..46d051d3f 100755
--- a/bin/prepstrip
+++ b/bin/prepstrip
@@ -14,9 +14,9 @@ then
fi
STRIP=${STRIP:-${CHOST}-strip}
-type -p -- ${STRIP} > /dev/null || STRIP=strip
+type -P -- ${STRIP} > /dev/null || STRIP=strip
OBJCOPY=${OBJCOPY:-${CHOST}-objcopy}
-type -p -- ${OBJCOPY} > /dev/null || OBJCOPY=objcopy
+type -P -- ${OBJCOPY} > /dev/null || OBJCOPY=objcopy
export PORTAGE_STRIP_FLAGS=${PORTAGE_STRIP_FLAGS:---strip-unneeded}