summaryrefslogtreecommitdiffstats
path: root/network/krb5
diff options
context:
space:
mode:
author David Somero2010-05-19 08:44:01 +0200
committer David Somero2010-05-19 08:44:01 +0200
commit77cfa9fe5fa1f851f2163da8e828d04e1e70e1ff (patch)
tree7d0adf96a4b9ccbcbe134d30cc39cc681b4a8a80 /network/krb5
parent00219d974984b79f2b532d3e8c598f258117cf20 (diff)
downloadslackbuilds-77cfa9fe5fa1f851f2163da8e828d04e1e70e1ff.tar.gz
network/krb5: Fixed for bash4.
Diffstat (limited to 'network/krb5')
-rw-r--r--network/krb5/krb5.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild
index 233c43482f..be4f332e4b 100644
--- a/network/krb5/krb5.SlackBuild
+++ b/network/krb5/krb5.SlackBuild
@@ -83,12 +83,8 @@ cat $CWD/config/kerberos.sh > $PKG/etc/profile.d/kerberos.sh
cat $CWD/config/kerberos.csh > $PKG/etc/profile.d/kerberos.csh
chmod 0755 $PKG/etc/profile.d/*
-( 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 || true
-)
+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/kerberos/man
find . -type f -exec gzip -9 {} \;