Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lazarus / usr / share / lazarus / 1.6 / tools / install / smart_strip.sh
Size: Mime:
#!/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.