summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:12 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:12 -0400
commitb0aec5f9d340a839e1535769cb6fe6719db94b2a (patch)
treeb2d0d3a0416cf110079c27408a561b8d41dbb31d /desktop
parentf041e43944b9292ef7301b9a4ca58455ceb7f36a (diff)
downloadslackbuilds-b0aec5f9d340a839e1535769cb6fe6719db94b2a.tar.gz
desktop/ratpoison: Fixed for bash4.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/ratpoison/ratpoison.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/ratpoison/ratpoison.SlackBuild b/desktop/ratpoison/ratpoison.SlackBuild
index 91496fd55c..5074ae9daf 100644
--- a/desktop/ratpoison/ratpoison.SlackBuild
+++ b/desktop/ratpoison/ratpoison.SlackBuild
@@ -68,12 +68,8 @@ make install DESTDIR=$PKG
mkdir -p $PKG/etc/X11/xinit
install -m 0755 $CWD/xinitrc.ratpoison $PKG/etc/X11/xinit/xinitrc.ratpoison
-( 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 {} \;