summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:03 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:03 -0400
commit67bae91e7cb91e71a66b1c4765dda4f29d094ecf (patch)
treef7a3e5d292a950540752d1696d75a32708e2db32
parent7ffdd6d42a98a0eb99177228b521f1bc6df6fbae (diff)
downloadslackbuilds-67bae91e7cb91e71a66b1c4765dda4f29d094ecf.tar.gz
desktop/xsession: Fixed for bash4.
-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 726aca6986..d8a86d9737 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