4 # locate original 'strip' utility
8 case "$COPYSTRIP_STRIP" in
10 exec "$COPYSTRIP_STRIP" "$stripfile"
16 item=${p%%:*}/${COPYSTRIP_STRIP:-strip}
17 if [ -x "$item" ]; then
18 case "`sed -n 2p "$item"`" in
20 echo >&2 "Found myself in $item"
23 echo >&2 "Using $item..."
24 cp "$stripfile" "$stripfile-withdebug"
25 exec "$item" "$stripfile"
34 echo >&2 "No strip found in PATH."