aboutsummaryrefslogtreecommitdiff
path: root/audio/mppenc/mppenc.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:22 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:22 -0400
commit41e1e3acd39a2618feebc45f074c62f786b5dbb2 (patch)
tree46b9a4e22a1defad013c9e5914b76dd6e2135079 /audio/mppenc/mppenc.SlackBuild
parentf2e002c96cb2d9cd29907819a1376117c4138122 (diff)
audio/mppenc: Fixed for bash4.
Diffstat (limited to 'audio/mppenc/mppenc.SlackBuild')
-rw-r--r--audio/mppenc/mppenc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/mppenc/mppenc.SlackBuild b/audio/mppenc/mppenc.SlackBuild
index 0b4633680b809..af850d92cf417 100644
--- a/audio/mppenc/mppenc.SlackBuild
+++ b/audio/mppenc/mppenc.SlackBuild
@@ -56,12 +56,8 @@ cd build
make install VERBOSE=1 DESTDIR=$PKG
cd -
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL $PKG/usr/doc/$PRGNAM-$VERSION