From ad10dfba93e46649c3574244c4e3b84371a6d570 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:35:50 -0400 Subject: libraries/confuse: Fixed for bash4. --- libraries/confuse/confuse.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libraries/confuse') diff --git a/libraries/confuse/confuse.SlackBuild b/libraries/confuse/confuse.SlackBuild index 492b5fdbe8..f6a2b5d4f9 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/ -- cgit v1.2.3