From a2993fc10d103a6628f8aa4bf59c7e40677b54c7 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:45:59 -0400 Subject: network/thttpd: Fixed for bash4. --- network/thttpd/thttpd.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'network') diff --git a/network/thttpd/thttpd.SlackBuild b/network/thttpd/thttpd.SlackBuild index a05f174c62..cdfe75f307 100644 --- a/network/thttpd/thttpd.SlackBuild +++ b/network/thttpd/thttpd.SlackBuild @@ -100,12 +100,8 @@ mkdir -p $PKG/etc/rc.d $PKG/usr/man/man1 $PKG/etc/logrotate.d make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - 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 # Install default html file. install -m 644 index.html $PKG/$WEBDIR -- cgit v1.2.3