summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:22 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:22 -0400
commitf4700ba4e947c1ad45aae5dfcbc4665db6554477 (patch)
tree64464994f498b6fb491bfa3426247eb353bed35e /multimedia
parent50bbcf5996496561cbcf700355146d471305f1d4 (diff)
downloadslackbuilds-f4700ba4e947c1ad45aae5dfcbc4665db6554477.tar.gz
multimedia/sopcast: Fixed for bash4.
Diffstat (limited to 'multimedia')
-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