aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:38 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:38 -0400
commit211a80b894f103429d8b78d6840628efe633f436 (patch)
tree81593e8d788883f82e8e45623c049abc1d9c71a3
parent76ee575c88627809af239ac9976619d166b140f4 (diff)
multimedia/dvdstyler: Fixed for bash4.
-rw-r--r--multimedia/dvdstyler/dvdstyler.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/dvdstyler/dvdstyler.SlackBuild b/multimedia/dvdstyler/dvdstyler.SlackBuild
index 281533deeb7b4..3f92cf7e4c34c 100644
--- a/multimedia/dvdstyler/dvdstyler.SlackBuild
+++ b/multimedia/dvdstyler/dvdstyler.SlackBuild
@@ -60,12 +60,8 @@ install -D -m0644 data/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir $PKG/usr/share/$PRGNAM/templates
cp -a templates/*dvdt templates/*png $PKG/usr/share/$PRGNAM/templates
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;