aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:10 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:10 -0400
commitd1db203ad0130d1e19fd1293e74e45e49c0fa53a (patch)
tree36d1d73ce273ffd790a6b793c7113cdbb0284f74
parent67296d014e439f30963578e906fa2871f5e53439 (diff)
audio/id3: Fixed for bash4.
-rw-r--r--audio/id3/id3.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/id3/id3.SlackBuild b/audio/id3/id3.SlackBuild
index 3c9bf35bb2cf..25e97206c990 100644
--- a/audio/id3/id3.SlackBuild
+++ b/audio/id3/id3.SlackBuild
@@ -55,12 +55,8 @@ cp -a id3 $PKG/usr/bin
mkdir -p $PKG/usr/man/man1
cp -a id3.man $PKG/usr/man/man1/id3.1
-( 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 {} \;