From 17baf95021a7180f9704186378aad48d8a3c4583 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:33:59 -0400 Subject: [PATCH] development/qjson: Fixed for bash4. --- development/qjson/qjson.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/qjson/qjson.SlackBuild b/development/qjson/qjson.SlackBuild index dbc9665d9b..9e93e94a45 100755 --- a/development/qjson/qjson.SlackBuild +++ b/development/qjson/qjson.SlackBuild @@ -56,8 +56,8 @@ make install DESTDIR=$PKG cd .. -find $PKG | 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 INSTALL README COPYING doc \