summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:09 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:09 -0400
commit9066463330f1190756f475ba92605d5f4b78272a (patch)
treec7bc4e8a225f813788b856afb8b0be8205b73042
parente1e6b68f0bc654fa89381356c9a16330e6149753 (diff)
downloadslackbuilds-9066463330f1190756f475ba92605d5f4b78272a.tar.gz
office/gnokii: Fixed for bash4.
-rw-r--r--office/gnokii/gnokii.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/office/gnokii/gnokii.SlackBuild b/office/gnokii/gnokii.SlackBuild
index 4392052867..d78929fa4b 100644
--- a/office/gnokii/gnokii.SlackBuild
+++ b/office/gnokii/gnokii.SlackBuild
@@ -96,12 +96,8 @@ make install DESTDIR=$PKG \
ringtonedocsdir=/usr/doc/$PRGNAM-$VERSION/sample/ringtone \
vcaldocsdir=/usr/doc/$PRGNAM-$VERSION/sample/vCalendar \
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;