aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:10 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:10 -0400
commitde59ddc778173bd3cd837391f8ce36663ea25efd (patch)
tree0d30b9be6148e53ce80a082918573f2c9fabe3c6
parent8550163785510cdcced55d77d70e16a4a4e6aa10 (diff)
desktop/qtwitter: Fixed for bash4.
-rw-r--r--desktop/qtwitter/qtwitter.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/qtwitter/qtwitter.SlackBuild b/desktop/qtwitter/qtwitter.SlackBuild
index e80b8a9c805da..dfaeefcb8155e 100644
--- a/desktop/qtwitter/qtwitter.SlackBuild
+++ b/desktop/qtwitter/qtwitter.SlackBuild
@@ -55,12 +55,8 @@ qmake -unix PREFIX=/usr DOCDIR=/usr/doc/$PRGNAM-$VERSION \
make
make install 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 || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION