From f1eeeded0820c06d099ce524e324f8a5b1b445c8 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:34:52 -0400 Subject: graphics/djview4: Fixed for bash4. --- graphics/djview4/djview4.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'graphics/djview4') diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild index 5ea5932455..fa16d8fc8d 100644 --- a/graphics/djview4/djview4.SlackBuild +++ b/graphics/djview4/djview4.SlackBuild @@ -86,12 +86,8 @@ cp $PKG/usr/share/djvu/djview4/desktop/*.desktop \ cp $PKG/usr/share/djvu/djview4/desktop/hi32-djview4.png \ $PKG/usr/share/pixmaps/djvulibre-djview4.png -( 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