summaryrefslogtreecommitdiff
path: root/academic/geda-gaf
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:26 -0400
commitfbe413824360a1eaf4ececf746163ea0cc5f8a7e (patch)
treed8e5ce9189eb38dc9135af6d4e1b2a7770f717ec /academic/geda-gaf
parent4c1d3c747b6b534866985c2ecce8bc9f7718d654 (diff)
downloadslackbuilds-fbe413824360a1eaf4ececf746163ea0cc5f8a7e.tar.gz
academic/geda-gaf: Fixed for bash4.
Diffstat (limited to 'academic/geda-gaf')
-rw-r--r--academic/geda-gaf/geda-gaf.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/geda-gaf/geda-gaf.SlackBuild b/academic/geda-gaf/geda-gaf.SlackBuild
index be718add9f..4f15f31e14 100644
--- a/academic/geda-gaf/geda-gaf.SlackBuild
+++ b/academic/geda-gaf/geda-gaf.SlackBuild
@@ -57,12 +57,8 @@ make install DESTDIR=$PKG
rm -f $PKG/usr/share/applications/mimeinfo.cache
-( 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/man
find . -type f -exec gzip -9 {} \;