summaryrefslogtreecommitdiff
path: root/multimedia/2ManDVD/2ManDVD.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/2ManDVD/2ManDVD.SlackBuild')
-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 1b7c650ad1..d0dea36ef1 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