aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:59 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:59 -0400
commit17baf95021a7180f9704186378aad48d8a3c4583 (patch)
treebb21cf909c3769b68706423afe0c0fa5c9eb97e8
parentd44f11cffb12fe8d1810401454e8d52189314ef2 (diff)
development/qjson: Fixed for bash4.
-rwxr-xr-xdevelopment/qjson/qjson.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/qjson/qjson.SlackBuild b/development/qjson/qjson.SlackBuild
index dbc9665d9b812..9e93e94a45ebd 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 \