diff options
-rwxr-xr-x | bin/prepstrip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prepstrip b/bin/prepstrip index ed3e6f647..eadc5b245 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 |