summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/sopcast/sopcast.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/sopcast/sopcast.SlackBuild b/multimedia/sopcast/sopcast.SlackBuild
index 5b74ac1fec..e82d2b57d8 100644
--- a/multimedia/sopcast/sopcast.SlackBuild
+++ b/multimedia/sopcast/sopcast.SlackBuild
@@ -39,12 +39,8 @@ chmod -R u+w,go+r-w,a-s .
mkdir -p $PKG/usr/bin
cp -f sp-sc-auth $PKG/usr/bin/sp-sc
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a Readme $PKG/usr/doc/$PRGNAM-$VERSION