From 9533aae7a8495736526c717b9894620927b9242d Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:46:30 -0400 Subject: network/wput: Fixed for bash4. --- network/wput/wput.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/network/wput/wput.SlackBuild b/network/wput/wput.SlackBuild index 509dbb53ee2d..6a1fc8772014 100644 --- a/network/wput/wput.SlackBuild +++ b/network/wput/wput.SlackBuild @@ -58,12 +58,8 @@ sed -i 's/^datadir *= $(prefix)\/share/datadir = $(prefix)/' Makefile make make install -( 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ABOUT-NLS COPYING ChangeLog INSTALL TODO doc/{USAGE.*,passwordfile,wputrc} \ -- cgit v1.2.3