blob: 33ca8b6e8481a3df0082a64a6f05fbeced41e9ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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=$@
# The last parameter is the file
for p in $Params; do
File=$p
done
echo $File | grep -q '\bpalmos\b' || strip $Params
# end.
|