python/cssutils: script clean up

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
larryhaja 2013-11-13 19:46:19 -08:00 committed by Robby Workman
parent 7776d4cfbf
commit 0a151297c6

View file

@ -24,7 +24,7 @@
PRGNAM=cssutils
VERSION=${VERSION:-0.9.10}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -56,8 +56,8 @@ find . \
-exec chmod 644 {} \;
# Change files from DOS to unix.
for FILE in $(find . -type f -exec grep -Pl '\r\n' {} \;); do
sed -i 's/\r//g' $FILE
for FILE in $(find . -type f -exec grep -Pl '\r$' {} \;); do
sed -i 's/\r//g' $FILE
done
python setup.py install --root=$PKG