aboutsummaryrefslogtreecommitdiff
path: root/network/wvdial
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:33 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:33 -0400
commit346ef6fc509256b972f6527b5601bd59f88524e6 (patch)
tree8d00f4114a1afdb2b5d7cae809371d95fe8b6ff1 /network/wvdial
parent9533aae7a8495736526c717b9894620927b9242d (diff)
network/wvdial: Fixed for bash4.
Diffstat (limited to 'network/wvdial')
-rw-r--r--network/wvdial/wvdial.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/wvdial/wvdial.SlackBuild b/network/wvdial/wvdial.SlackBuild
index cf1cdd23844c..3ae37f70df84 100644
--- a/network/wvdial/wvdial.SlackBuild
+++ b/network/wvdial/wvdial.SlackBuild
@@ -47,12 +47,8 @@ patch -u Makefile $CWD/Makefile.diff
make prefix=/usr MANDIR=/usr/man
make prefix=/usr MANDIR=/usr/man install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || exit 1
- 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/usr/man
find . -type f -exec gzip -9 {} \;