From 680083b6368b8eeb97857a0a16c7d8cf3cc43650 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:45:57 -0400 Subject: [PATCH] network/suphp: Fixed for bash4. --- network/suphp/suphp.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/suphp/suphp.SlackBuild b/network/suphp/suphp.SlackBuild index a675d9af10..2852b31ff7 100644 --- a/network/suphp/suphp.SlackBuild +++ b/network/suphp/suphp.SlackBuild @@ -76,8 +76,8 @@ make make install-strip DESTDIR=$PKG # Strip the DSO as well -find $PKG -type f | xargs file | grep "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip -v --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 AUTHORS COPYING ChangeLog doc/* $PKG/usr/doc/$PRGNAM-$VERSION