summaryrefslogtreecommitdiff
path: root/network/wput
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:30 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:30 -0400
commit9533aae7a8495736526c717b9894620927b9242d (patch)
treee3bd1988b40b575d508bf8eea33622271cd3f90d /network/wput
parent6fee30c91730656b66e45cd4be974275717b3288 (diff)
downloadslackbuilds-9533aae7a8495736526c717b9894620927b9242d.tar.gz
network/wput: Fixed for bash4.
Diffstat (limited to 'network/wput')
-rw-r--r--network/wput/wput.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/wput/wput.SlackBuild b/network/wput/wput.SlackBuild
index 509dbb53ee..6a1fc87720 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} \