diff options
Diffstat (limited to 'development/docutils/docutils.SlackBuild')
-rw-r--r-- | development/docutils/docutils.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/development/docutils/docutils.SlackBuild b/development/docutils/docutils.SlackBuild index 8b2526af1dd1e..a491a0f26a608 100644 --- a/development/docutils/docutils.SlackBuild +++ b/development/docutils/docutils.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for docutils -# Copyright 2006,2007,2008,2009,2010 Robby Workman Northport, AL, USA +# Copyright 2006-2011 Robby Workman Northport, AL, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=docutils -VERSION=0.6 +VERSION=${VERSION:-0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,8 +59,8 @@ find . \ python setup.py install --root=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG -print0 | xargs -0 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 *.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION |