summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:38 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:38 -0400
commitdaddc65935a35498365018fa6f944d462755fd01 (patch)
tree6814ce90650d83d7eefcc299bad6dc10509db29f
parenta3caac9323090ff48eaa21577a4eecd35ca4d157 (diff)
downloadslackbuilds-daddc65935a35498365018fa6f944d462755fd01.tar.gz
network/nicotine+: Fixed for bash4.
-rw-r--r--network/nicotine+/nicotine+.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/nicotine+/nicotine+.SlackBuild b/network/nicotine+/nicotine+.SlackBuild
index 6908fbe4d6..2596c30101 100644
--- a/network/nicotine+/nicotine+.SlackBuild
+++ b/network/nicotine+/nicotine+.SlackBuild
@@ -32,12 +32,8 @@ find . \
python setup.py build
python setup.py install --root $PKG
-( 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
mv $PKG/usr/share/man $PKG/usr
( cd $PKG/usr/man