Repository URL to install this package:
|
Version:
1.6 ▾
|
#!/usr/bin/env bash
# Wrapper for the strip command
#
# The redhat rpm scripts try to strip files, that can't be stripped.
# This wrapper simply skips some files.
set -e
#set -x
Params=$@
#echo "SMART STRIP $Params"
# The last parameter is the file
for p in $Params; do
File=$p
done
echo $File | grep -q '\bpalmos\b' && exit
echo $File | grep -q '\.a$' && exit
strip $Params
# end.