aboutsummaryrefslogtreecommitdiff
path: root/audio/speex/speex.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:31 -0400
commit910cb7dd25c81ed33c4a8dab2ab0c35e3ad95848 (patch)
treed7853a72293651c3ef1962ae540aeed477b63c09 /audio/speex/speex.SlackBuild
parentfc00ff23a4969494deb7c10775ce265ee429f52b (diff)
audio/speex: Fixed for bash4.
Diffstat (limited to 'audio/speex/speex.SlackBuild')
-rw-r--r--audio/speex/speex.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/speex/speex.SlackBuild b/audio/speex/speex.SlackBuild
index d2b665f2cd4b..7686ad5c9c70 100644
--- a/audio/speex/speex.SlackBuild
+++ b/audio/speex/speex.SlackBuild
@@ -71,12 +71,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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;