aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:17 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:17 -0400
commit7c616577a746d8b67d5b42065b3320dec37ce81b (patch)
treeafb49911266fef8bbce217ecc8c245139c960a99 /audio
parentf43b76b01f3faea3ff95ec518639e251a52a0e9f (diff)
audio/mp3info: Fixed for bash4.
Diffstat (limited to 'audio')
-rw-r--r--audio/mp3info/mp3info.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/mp3info/mp3info.SlackBuild b/audio/mp3info/mp3info.SlackBuild
index b8a5a4254dfd8..09385e21fad75 100644
--- a/audio/mp3info/mp3info.SlackBuild
+++ b/audio/mp3info/mp3info.SlackBuild
@@ -47,12 +47,8 @@ make CFLAGS="$SLKCFLAGS" prefix=/usr
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
make install prefix=$PKG/usr
-( 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 {} \;