summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:31 -0400
commitd82e939981e914a172aa05369892c15ea9195765 (patch)
tree3d6fce2c5caf0fae34b06ce2783d018c934f3fc9
parent8632d298f22e362b45c9e9c0b59b8b6417754fcd (diff)
downloadslackbuilds-d82e939981e914a172aa05369892c15ea9195765.tar.gz
office/org-mode: Fixed for bash4.
-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 be000f18c7..d3d952ae08 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/*