summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:40 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:40 -0400
commitc074f15c0c4ec00fe2833a06e13946d93729e8b7 (patch)
treee57bd4fa3d2435b802f092b783ebc104593c8c3d
parentce2c24c8911c92ece09de37889fb41eac4353b22 (diff)
downloadslackbuilds-c074f15c0c4ec00fe2833a06e13946d93729e8b7.tar.gz
multimedia/emoc: Fixed for bash4.
-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 \