summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:52 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:52 -0400
commitc62caacb47adbb83b36aa0c114710b86a22eda37 (patch)
treed43839bcaea3240a56132c8bb32077968da0a714 /system
parentf5170cf1a411a5811e886169458feeddc7250ca3 (diff)
downloadslackbuilds-c62caacb47adbb83b36aa0c114710b86a22eda37.tar.gz
system/xrdp: Fixed for bash4.
Diffstat (limited to 'system')
-rw-r--r--system/xrdp/xrdp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/xrdp/xrdp.SlackBuild b/system/xrdp/xrdp.SlackBuild
index b1b1d90b9e..4a661f7ca5 100644
--- a/system/xrdp/xrdp.SlackBuild
+++ b/system/xrdp/xrdp.SlackBuild
@@ -105,12 +105,8 @@ mv $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/startwm.sh $PKG/etc/$PRGNAM/xrdp-xinitrc.
install -D -m 0755 $CWD/xrdp-xwmconfig \
$PKG/usr/bin/xrdp-xwmconfig
-( 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
find . -type f -exec gzip -9 {} \;