summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:13 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:13 -0400
commit543c1b72205a433d63a530c8174370347858f0b9 (patch)
tree6093edaa47d1b1ecf2a33023a57ec11192b9b4a4 /office
parent30977fea43fb69674770e232538bb0c7a2306bb3 (diff)
downloadslackbuilds-543c1b72205a433d63a530c8174370347858f0b9.tar.gz
office/grisbi: Fixed for bash4.
Diffstat (limited to 'office')
-rw-r--r--office/grisbi/grisbi.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/office/grisbi/grisbi.SlackBuild b/office/grisbi/grisbi.SlackBuild
index 1404e0ff49..974fc92a02 100644
--- a/office/grisbi/grisbi.SlackBuild
+++ b/office/grisbi/grisbi.SlackBuild
@@ -61,12 +61,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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 {} \;