summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:44 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:44 -0400
commit4046ae20a3c64c18f28d5cc322a6109d7b124e67 (patch)
tree11b8facca7aa54c523a1e6a2767f7f75c2f77f42
parentbe44743d1586951e418cd3c9e8f0fd79841da80a (diff)
downloadslackbuilds-4046ae20a3c64c18f28d5cc322a6109d7b124e67.tar.gz
slackbuilds-4046ae20a3c64c18f28d5cc322a6109d7b124e67.tar.xz
libraries/libmp3splt: Fixed for bash4.
-rw-r--r--libraries/libmp3splt/libmp3splt.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libmp3splt/libmp3splt.SlackBuild b/libraries/libmp3splt/libmp3splt.SlackBuild
index 71e7158acf..27d6126a8a 100644
--- a/libraries/libmp3splt/libmp3splt.SlackBuild
+++ b/libraries/libmp3splt/libmp3splt.SlackBuild
@@ -52,12 +52,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$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
-)
+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 ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL LIMITS NEWS README TODO \