summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-05-19 12:48:44 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-21 01:17:23 -0500
commit7d096e5f58531f8a756453349b3bb35eb9a2d13a (patch)
treea2bda5cd778a22e3fb1c4fae8e2fb734e01d19ac
parentb099baa32624c0f5ad444fef5fa3ae7de49abe9b (diff)
downloadslackbuilds-7d096e5f58531f8a756453349b3bb35eb9a2d13a.tar.gz
network/xtables-addons: Miscellanous cleanups.
-rw-r--r--network/xtables-addons/xtables-addons.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/xtables-addons/xtables-addons.SlackBuild b/network/xtables-addons/xtables-addons.SlackBuild
index a201a8c4e5..f50daee81b 100644
--- a/network/xtables-addons/xtables-addons.SlackBuild
+++ b/network/xtables-addons/xtables-addons.SlackBuild
@@ -94,10 +94,8 @@ rm -f $PKG/lib/modules/${KERNEL}/modules.*
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
cp -a INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION