aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:22 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:22 -0400
commit13197d43500535dc6aede23ce7df8d7677656ab4 (patch)
tree1b55ff5744afdfacabb7957de60f953e97a8dbb3
parent7f5e549cc21037b4f1eff65e5c88f6e2f9931146 (diff)
multimedia/2ManDVD: Fixed for bash4.
-rw-r--r--multimedia/2ManDVD/2ManDVD.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/2ManDVD/2ManDVD.SlackBuild b/multimedia/2ManDVD/2ManDVD.SlackBuild
index 1b7c650ad11e1..d0dea36ef191e 100644
--- a/multimedia/2ManDVD/2ManDVD.SlackBuild
+++ b/multimedia/2ManDVD/2ManDVD.SlackBuild
@@ -65,12 +65,8 @@ cp -R \
Bibliotheque Interface 2mandvd_*.qm 2mandvd_*.ts *.wav *.pl \
$PKG/usr/share/$PRGNAM
-( 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
# Make desktop entry
mkdir -p $PKG/usr/share/applications