mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
network/hping3: Fixed for bash4.
This commit is contained in:
parent
3e6be245af
commit
4a23a5630a
1 changed files with 2 additions and 6 deletions
|
@ -93,12 +93,8 @@ install -d $PKG/usr/man/man8/
|
|||
install -m 0644 docs/hping2.8 $PKG/usr/man/man8/
|
||||
install -m 0644 docs/hping3.8 $PKG/usr/man/man8/
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
|
|
Loading…
Reference in a new issue