diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:47:09 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:47:09 -0400 |
commit | 9066463330f1190756f475ba92605d5f4b78272a (patch) | |
tree | c7bc4e8a225f813788b856afb8b0be8205b73042 /office/gnokii/gnokii.SlackBuild | |
parent | e1e6b68f0bc654fa89381356c9a16330e6149753 (diff) |
office/gnokii: Fixed for bash4.
Diffstat (limited to 'office/gnokii/gnokii.SlackBuild')
-rw-r--r-- | office/gnokii/gnokii.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/office/gnokii/gnokii.SlackBuild b/office/gnokii/gnokii.SlackBuild index 4392052867bbf..d78929fa4bb34 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 {} \; |