aboutsummaryrefslogtreecommitdiff
path: root/audio/audtty
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:02 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:02 -0400
commit038806d5ae38d1bcf43c56105998df36700ce274 (patch)
treeaa6ad9232b18d6278fe8968076254c696de81ef8 /audio/audtty
parent13d6eae4922f6350deede1c26b9e9ab669a6c920 (diff)
audio/audtty: Fixed for bash4.
Diffstat (limited to 'audio/audtty')
-rw-r--r--audio/audtty/audtty.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/audtty/audtty.SlackBuild b/audio/audtty/audtty.SlackBuild
index 735918329d1a6..29c196e2ff69a 100644
--- a/audio/audtty/audtty.SlackBuild
+++ b/audio/audtty/audtty.SlackBuild
@@ -77,12 +77,8 @@ CXXFLAGS="$SLKCFLAGS" \
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
# Move man pages to /usr/man manually
mv $PKG/usr/share/man $PKG/usr/