summaryrefslogtreecommitdiff
path: root/desktop/qtwitter/qtwitter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/qtwitter/qtwitter.SlackBuild')
-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 e80b8a9c80..dfaeefcb81 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