summaryrefslogtreecommitdiffstats
path: root/audio/mp3info
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:17 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:17 -0400
commit7c616577a746d8b67d5b42065b3320dec37ce81b (patch)
treeafb49911266fef8bbce217ecc8c245139c960a99 /audio/mp3info
parentf43b76b01f3faea3ff95ec518639e251a52a0e9f (diff)
downloadslackbuilds-7c616577a746d8b67d5b42065b3320dec37ce81b.tar.gz
slackbuilds-7c616577a746d8b67d5b42065b3320dec37ce81b.tar.xz
audio/mp3info: Fixed for bash4.
Diffstat (limited to 'audio/mp3info')
-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 b8a5a4254d..09385e21fa 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 {} \;