aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:39 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:39 -0400
commit8bda44bbebd832fe67378d662d6892386a482799 (patch)
treebbc58a7d1a06a8068786fd769f03f91f9ee19554
parent1b8954cebed2bf6749fd304b9692107c7605f4df (diff)
libraries/audiere: Fixed for bash4.
-rw-r--r--libraries/audiere/audiere.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/audiere/audiere.SlackBuild b/libraries/audiere/audiere.SlackBuild
index 432c2caea46c..3324c250d217 100644
--- a/libraries/audiere/audiere.SlackBuild
+++ b/libraries/audiere/audiere.SlackBuild
@@ -64,12 +64,8 @@ sed -i s/"SUBDIRS = doc src examples test"/"SUBDIRS = doc src test"/ Makefile
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 || 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 doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION