summaryrefslogtreecommitdiff
path: root/business/gnucash/gnucash.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:37 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:37 -0400
commit81cd367e5cc7a72bb8b3fed4bc05b59001af2316 (patch)
treeb683ef4e77b834a669ec289d8e6e27d66ae6f651 /business/gnucash/gnucash.SlackBuild
parent0215c104e517d7cda166bfbc674468c1401cd42c (diff)
downloadslackbuilds-81cd367e5cc7a72bb8b3fed4bc05b59001af2316.tar.gz
business/gnucash: Fixed for bash4.
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 {} \;