aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:00 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:00 -0400
commit0988c0696218d46762d11c8459af8acc674f821f (patch)
tree48a4a838bc6a123b41bd94c4f05c54f03a51feaf
parent7cf54130e72dce195c237004aa14aec396eceecb (diff)
libraries/id3lib: Fixed for bash4.
-rw-r--r--libraries/id3lib/id3lib.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/id3lib/id3lib.SlackBuild b/libraries/id3lib/id3lib.SlackBuild
index 536598656f600..522c1dd9985c5 100644
--- a/libraries/id3lib/id3lib.SlackBuild
+++ b/libraries/id3lib/id3lib.SlackBuild
@@ -80,12 +80,8 @@ make
make docs 2>/dev/null || true
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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
# Strip down the doc and examples directories so we can copy w/impunity
for i in doc/ examples/; do \