summaryrefslogtreecommitdiff
path: root/network/wput/wput.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/wput/wput.SlackBuild')
-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} \