From c62caacb47adbb83b36aa0c114710b86a22eda37 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:52 -0400 Subject: system/xrdp: Fixed for bash4. --- system/xrdp/xrdp.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system/xrdp') 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 {} \; -- cgit v1.2.3