summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/prepstrip4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prepstrip b/bin/prepstrip
index ed3e6f64..eadc5b24 100755
--- 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