From 72730105e4c45f5448c31d945c7d64b3b2a68a80 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:39:45 -0400 Subject: misc/chm2pdf: Fixed for bash4. --- misc/chm2pdf/chm2pdf.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'misc') diff --git a/misc/chm2pdf/chm2pdf.SlackBuild b/misc/chm2pdf/chm2pdf.SlackBuild index 0e60c0ea6f..0d69bd71da 100644 --- a/misc/chm2pdf/chm2pdf.SlackBuild +++ b/misc/chm2pdf/chm2pdf.SlackBuild @@ -58,12 +58,8 @@ cat $CWD/patches/tempdir.patch | patch -p1 python setup.py build python setup.py install --root $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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3