summaryrefslogtreecommitdiffstats
path: root/misc/chm2pdf
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:45 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:45 -0400
commit72730105e4c45f5448c31d945c7d64b3b2a68a80 (patch)
tree8e766c60eae3d31b8b150ebb0ce47030c3faee8c /misc/chm2pdf
parentf9d207fe03d8917e6fce4de21d09d2cbee81fc21 (diff)
downloadslackbuilds-72730105e4c45f5448c31d945c7d64b3b2a68a80.tar.gz
slackbuilds-72730105e4c45f5448c31d945c7d64b3b2a68a80.tar.xz
misc/chm2pdf: Fixed for bash4.
Diffstat (limited to 'misc/chm2pdf')
-rw-r--r--misc/chm2pdf/chm2pdf.SlackBuild8
1 files changed, 2 insertions, 6 deletions
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