diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:47:18 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:47:18 -0400 |
commit | ddd792346ab17001c5d327e04f9a2fb59a8b9b1b (patch) | |
tree | b11a00d000480b2ea3da1339664f82d6d2ca4a43 /office | |
parent | 6ebaadee98e5531894a70d4fcb8a7614f37c6379 (diff) |
office/htmldoc: Fixed for bash4.
Diffstat (limited to 'office')
-rw-r--r-- | office/htmldoc/htmldoc.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild index 3dcaa5995853f..6ac4ae7e1761d 100644 --- a/office/htmldoc/htmldoc.SlackBuild +++ b/office/htmldoc/htmldoc.SlackBuild @@ -108,12 +108,8 @@ cp -a desktop/htmldoc-64.png $PKG/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png cp -a desktop/htmldoc-96.png $PKG/usr/share/icons/hicolor/96x96/apps/$PRGNAM.png cp -a desktop/htmldoc-128.png $PKG/usr/share/icons/hicolor/128x128/apps/$PRGNAM.png -( 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 {} \; |