summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 536598656f..522c1dd998 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 \