summaryrefslogtreecommitdiff
path: root/network/amsn/amsn.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:01 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:01 -0400
commit8230b6aedf373c77d7ec1bc3e103e4ada4d32dcd (patch)
tree0c989e6f7de6979b209031730521a8acbbad1160 /network/amsn/amsn.SlackBuild
parent61b1af50e16f11f92a8d955ec5de96fb8b92a936 (diff)
downloadslackbuilds-8230b6aedf373c77d7ec1bc3e103e4ada4d32dcd.tar.gz
network/amsn: Fixed for bash4.
Diffstat (limited to 'network/amsn/amsn.SlackBuild')
-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 aa5b1062c5..dfe3068470 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}