summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/d4x/d4x.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/d4x/d4x.SlackBuild b/network/d4x/d4x.SlackBuild
index 0b120b308e..0d181b5d9c 100644
--- a/network/d4x/d4x.SlackBuild
+++ b/network/d4x/d4x.SlackBuild
@@ -68,12 +68,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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
mkdir -p $PKG/usr/man/man1
gzip -9c DOC/nt.1 > $PKG/usr/man/man1/$PRGNAM.1.gz