aboutsummaryrefslogtreecommitdiff
path: root/network/ucspi-tcp/ucspi-tcp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ucspi-tcp/ucspi-tcp.SlackBuild')
-rw-r--r--network/ucspi-tcp/ucspi-tcp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/ucspi-tcp/ucspi-tcp.SlackBuild b/network/ucspi-tcp/ucspi-tcp.SlackBuild
index 2da3be4ccc174..43bf15f5738e1 100644
--- a/network/ucspi-tcp/ucspi-tcp.SlackBuild
+++ b/network/ucspi-tcp/ucspi-tcp.SlackBuild
@@ -48,12 +48,8 @@ patch -p1 < $CWD/patches/ucspi-tcp-0.88.a_record.patch
make setup check
-( 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 || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES README TODO $PKG/usr/doc/$PRGNAM-$VERSION