summaryrefslogtreecommitdiff
path: root/graphics/fontforge/fontforge.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:55 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:55 -0400
commitaf55b58095d724bf660586ec8bb448227fb3a23f (patch)
tree40eef12df28459e2a2043dbc57aedf16decb2f03 /graphics/fontforge/fontforge.SlackBuild
parentf12e87d6b674e6e9c23e100de0e346dfb0ba4dba (diff)
downloadslackbuilds-af55b58095d724bf660586ec8bb448227fb3a23f.tar.gz
graphics/fontforge: Fixed for bash4.
Diffstat (limited to 'graphics/fontforge/fontforge.SlackBuild')
-rw-r--r--graphics/fontforge/fontforge.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index de56c96d8b..2dffc015b5 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -87,12 +87,8 @@ tar xvf $CWD/cidmaps.tgz -C $PKG/usr/share/fontforge || exit 1
chmod 0644 $PKG/usr/share/fontforge/*.cidmap
chown root:root $PKG/usr/share/fontforge/*.cidmap
-( 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 || exit 1
find . -type f -exec gzip -9 {} \;