aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:39 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:39 -0400
commitce2c24c8911c92ece09de37889fb41eac4353b22 (patch)
tree30ad8028e64b37f4e124b3d5beca6a32ef008cdc
parent211a80b894f103429d8b78d6840628efe633f436 (diff)
multimedia/dvgrab: Fixed for bash4.
-rw-r--r--multimedia/dvgrab/dvgrab.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/dvgrab/dvgrab.SlackBuild b/multimedia/dvgrab/dvgrab.SlackBuild
index 45e4d2e4896f..e9c12428cab7 100644
--- a/multimedia/dvgrab/dvgrab.SlackBuild
+++ b/multimedia/dvgrab/dvgrab.SlackBuild
@@ -73,12 +73,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$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
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;