aboutsummaryrefslogtreecommitdiff
path: root/office/lyx
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:26 -0400
commit1aa4753bf6b2ab9df1ef12bd398742f7d7f70b59 (patch)
tree868e773ec0a2a865fe13d286396f2148990056e0 /office/lyx
parentf8f4f08a8b375e04cd3c1a233bb745c03e128dcb (diff)
office/lyx: Fixed for bash4.
Diffstat (limited to 'office/lyx')
-rw-r--r--office/lyx/lyx.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index d576b932749e..8b82f7be024c 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -59,10 +59,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
- 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 {} \;