aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:41 -0400
commit42cbcd31f31dfca08261cfeb89f3d2bf0f56d66e (patch)
treecca9520dc96314cd171dfe9a23be4c3b20e02e3d
parent5cf52a4f6be8da18dfac427344265de19e6bb060 (diff)
multimedia/xvst: Fixed for bash4.
-rw-r--r--multimedia/xvst/xvst.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/xvst/xvst.SlackBuild b/multimedia/xvst/xvst.SlackBuild
index 17f0746277f27..f77d5b8e11598 100644
--- a/multimedia/xvst/xvst.SlackBuild
+++ b/multimedia/xvst/xvst.SlackBuild
@@ -66,12 +66,8 @@ install -m 0644 resources/translations/*.qm \
install -m 0644 resources/translations/definitions/*.language \
$PKG/usr/share/$PRGNAM/languages
-( 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
mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications