diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:46:30 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:46:30 -0400 |
commit | 9533aae7a8495736526c717b9894620927b9242d (patch) | |
tree | e3bd1988b40b575d508bf8eea33622271cd3f90d /network/wput | |
parent | 6fee30c91730656b66e45cd4be974275717b3288 (diff) |
network/wput: Fixed for bash4.
Diffstat (limited to 'network/wput')
-rw-r--r-- | network/wput/wput.SlackBuild | 8 |
1 files 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} \ |