summaryrefslogtreecommitdiff
path: root/network/xnetload
diff options
context:
space:
mode:
Diffstat (limited to 'network/xnetload')
-rw-r--r--network/xnetload/xnetload.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/xnetload/xnetload.SlackBuild b/network/xnetload/xnetload.SlackBuild
index 9a7ee1863d..6730297138 100644
--- a/network/xnetload/xnetload.SlackBuild
+++ b/network/xnetload/xnetload.SlackBuild
@@ -48,12 +48,8 @@ make
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
make install BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man/man1
-( 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/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild