aboutsummaryrefslogtreecommitdiff
path: root/desktop/xsession
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xsession')
-rw-r--r--desktop/xsession/xsession.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/xsession/xsession.SlackBuild b/desktop/xsession/xsession.SlackBuild
index 726aca6986afd..d8a86d9737973 100644
--- a/desktop/xsession/xsession.SlackBuild
+++ b/desktop/xsession/xsession.SlackBuild
@@ -52,12 +52,8 @@ make CFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
make install.man DESTDIR=$PKG
-( 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
-)
+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
# xsession installs it's manpage as .1x, change that to .1