summaryrefslogtreecommitdiff
path: root/multimedia/emoc/emoc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/emoc/emoc.SlackBuild')
-rw-r--r--multimedia/emoc/emoc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/emoc/emoc.SlackBuild b/multimedia/emoc/emoc.SlackBuild
index c8bd190943..8181267bb7 100644
--- a/multimedia/emoc/emoc.SlackBuild
+++ b/multimedia/emoc/emoc.SlackBuild
@@ -53,12 +53,8 @@ cp emoc $PKG/usr/bin
cp emoc-48.png $PKG/usr/share/pixmaps/emoc.png
cp emoc.desktop $PKG/usr/share/applications
-( 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 \