aboutsummaryrefslogtreecommitdiff
path: root/python/cssutils
diff options
context:
space:
mode:
authorlarryhaja <larryhaja@gmail.com>2013-11-13 19:46:19 -0800
committerRobby Workman <rworkman@slackbuilds.org>2013-11-14 00:06:35 -0600
commit0a151297c6c8c31b4be601b798ddf3a8dc28f205 (patch)
tree3e68f9aa198e84bbb6b31341be57fa5818c6f0fe /python/cssutils
parent7776d4cfbf9d417e810853a89151f808233dbc32 (diff)
python/cssutils: script clean up
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python/cssutils')
-rw-r--r--python/cssutils/cssutils.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/cssutils/cssutils.SlackBuild b/python/cssutils/cssutils.SlackBuild
index 8fffd1627d8a1..65c890d8824f0 100644
--- a/python/cssutils/cssutils.SlackBuild
+++ b/python/cssutils/cssutils.SlackBuild
@@ -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