From cdd210dcfcab89b571f04904a769a882110490ca Mon Sep 17 00:00:00 2001
From: David Somero <xgizzmo@slackbuilds.org>
Date: Wed, 19 May 2010 02:41:00 -0400
Subject: multimedia/loopy: Fixed for bash4.

---
 multimedia/loopy/loopy.SlackBuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'multimedia/loopy/loopy.SlackBuild')

diff --git a/multimedia/loopy/loopy.SlackBuild b/multimedia/loopy/loopy.SlackBuild
index 20130dc3c5627..7e2bbae8dd1df 100644
--- a/multimedia/loopy/loopy.SlackBuild
+++ b/multimedia/loopy/loopy.SlackBuild
@@ -53,12 +53,8 @@ cd build
   make install DESTDIR=$PKG VERBOSE=1
 cd ..
 
-( 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 \
-- 
cgit v1.2.3