summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:41 -0400
commit7d6ff4e01edc1e1ceeb57f2d77f33ab7acca384d (patch)
tree4c0c892cba07f81247b9c56f7e4c82053d90a69e
parentc3f12677fd5367186a9ee9c800d5e835f7477c71 (diff)
downloadslackbuilds-7d6ff4e01edc1e1ceeb57f2d77f33ab7acca384d.tar.gz
network/qbittorrent: Fixed for bash4.
-rw-r--r--network/qbittorrent/qbittorrent.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/qbittorrent/qbittorrent.SlackBuild b/network/qbittorrent/qbittorrent.SlackBuild
index a5c9670fab..72746e8e86 100644
--- a/network/qbittorrent/qbittorrent.SlackBuild
+++ b/network/qbittorrent/qbittorrent.SlackBuild
@@ -80,12 +80,8 @@ for i in 16 22 24 32 36 48 64 72 96 128 192 ; do
$PKG/usr/share/icons/hicolor/${i}x${i}/apps ;
done
-( 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 {} \;