aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mozplugger
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:05 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:05 -0400
commit7e9d88ae76b4caa79d17a5d96585ffba1c70e54a (patch)
tree565772c0e14611565d3513e4c86003ee39b1c088 /multimedia/mozplugger
parent066ec73e87bae31a77c8d98974bdb975cbbf2af8 (diff)
multimedia/mozplugger: Fixed for bash4.
Diffstat (limited to 'multimedia/mozplugger')
-rw-r--r--multimedia/mozplugger/mozplugger.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/mozplugger/mozplugger.SlackBuild b/multimedia/mozplugger/mozplugger.SlackBuild
index c41268086b6a..0ff71ceb64ae 100644
--- a/multimedia/mozplugger/mozplugger.SlackBuild
+++ b/multimedia/mozplugger/mozplugger.SlackBuild
@@ -64,12 +64,8 @@ RPM_OPT_FLAGS="$SLKCFLAGS" \
make linux libprefix=/lib${LIBDIRSUFFIX}
make install libprefix=/lib${LIBDIRSUFFIX} root=$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 || 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
# relocating files
mv $PKG/usr/share/man $PKG/usr/man