summaryrefslogtreecommitdiffstats
path: root/office/org-mode/org-mode.SlackBuild
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:31 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:31 -0400
commitd82e939981e914a172aa05369892c15ea9195765 (patch)
tree3d6fce2c5caf0fae34b06ce2783d018c934f3fc9 /office/org-mode/org-mode.SlackBuild
parent8632d298f22e362b45c9e9c0b59b8b6417754fcd (diff)
downloadslackbuilds-d82e939981e914a172aa05369892c15ea9195765.tar.gz
slackbuilds-d82e939981e914a172aa05369892c15ea9195765.tar.xz
office/org-mode: Fixed for bash4.
Diffstat (limited to 'office/org-mode/org-mode.SlackBuild')
-rw-r--r--office/org-mode/org-mode.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/office/org-mode/org-mode.SlackBuild b/office/org-mode/org-mode.SlackBuild
index be000f18c73..d3d952ae088 100644
--- a/office/org-mode/org-mode.SlackBuild
+++ b/office/org-mode/org-mode.SlackBuild
@@ -47,12 +47,8 @@ patch Makefile $CWD/Makefile.2.patch
PKG=$PKG make install
PKG=$PKG make install-info
-( 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
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*