summaryrefslogtreecommitdiffstats
path: root/network/hping3/hping3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/hping3/hping3.SlackBuild')
-rw-r--r--network/hping3/hping3.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/hping3/hping3.SlackBuild b/network/hping3/hping3.SlackBuild
index a80574dfec..71c8ec4ec4 100644
--- a/network/hping3/hping3.SlackBuild
+++ b/network/hping3/hping3.SlackBuild
@@ -108,10 +108,8 @@ install -m 0644 docs/hping3.8 $PKG/usr/man/man8/
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd docs ; cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION )