aboutsummaryrefslogtreecommitdiff
path: root/network/amsn
diff options
context:
space:
mode:
Diffstat (limited to 'network/amsn')
-rw-r--r--network/amsn/amsn.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/amsn/amsn.SlackBuild b/network/amsn/amsn.SlackBuild
index aa5b1062c5592..dfe3068470785 100644
--- a/network/amsn/amsn.SlackBuild
+++ b/network/amsn/amsn.SlackBuild
@@ -60,12 +60,8 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}