summaryrefslogtreecommitdiff
path: root/office/org-mode
diff options
context:
space:
mode:
Diffstat (limited to 'office/org-mode')
-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/*