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