summaryrefslogtreecommitdiff
path: root/business/gnucash/gnucash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'business/gnucash/gnucash.SlackBuild')
-rw-r--r--business/gnucash/gnucash.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/business/gnucash/gnucash.SlackBuild b/business/gnucash/gnucash.SlackBuild
index afb0673228..f09e49dd96 100644
--- a/business/gnucash/gnucash.SlackBuild
+++ b/business/gnucash/gnucash.SlackBuild
@@ -81,12 +81,8 @@ make install DESTDIR=$PKG
# Create the gconf defaults directory
mkdir -p $PKG/etc/gconf/gconf.xml.defaults
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;