aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:50 -0400
commitad10dfba93e46649c3574244c4e3b84371a6d570 (patch)
treeb520803c66ea6204ba743ad0b634458c4d880a34
parenta5d290e84a0a588fb463cbbc6df9e6dd6cf3bffa (diff)
libraries/confuse: Fixed for bash4.
-rw-r--r--libraries/confuse/confuse.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/confuse/confuse.SlackBuild b/libraries/confuse/confuse.SlackBuild
index 492b5fdbe86f4..f6a2b5d4f9220 100644
--- a/libraries/confuse/confuse.SlackBuild
+++ b/libraries/confuse/confuse.SlackBuild
@@ -68,10 +68,8 @@ CFLAGS="-Wno-unused $SLKCFLAGS" \
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
-( cd $PKG
- 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/man/man3
cp -a doc/man/man3/* $PKG/usr/man/man3/