summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:47 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:47 -0400
commita5ee4087392fc21938a5070f63b316548b32e983 (patch)
tree979647d11ec8191dc99290142e15605420414c1f
parent6b5e827d0dbba705426ac22d2eedb4b40bac806c (diff)
downloadslackbuilds-a5ee4087392fc21938a5070f63b316548b32e983.tar.gz
misc/cksfv: Fixed for bash4.
-rw-r--r--misc/cksfv/cksfv.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/cksfv/cksfv.SlackBuild b/misc/cksfv/cksfv.SlackBuild
index c746fb3fc1..6668430c3f 100644
--- a/misc/cksfv/cksfv.SlackBuild
+++ b/misc/cksfv/cksfv.SlackBuild
@@ -67,10 +67,8 @@ CFLAGS="$SLKCFLAGS" \
make
make install
-( 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
( cd $PKG/usr/man/
find . -type f -exec gzip -9 {} \;