From 0a151297c6c8c31b4be601b798ddf3a8dc28f205 Mon Sep 17 00:00:00 2001 From: larryhaja Date: Wed, 13 Nov 2013 19:46:19 -0800 Subject: python/cssutils: script clean up Signed-off-by: Robby Workman --- python/cssutils/cssutils.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/cssutils') diff --git a/python/cssutils/cssutils.SlackBuild b/python/cssutils/cssutils.SlackBuild index 8fffd1627d..65c890d882 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 -- cgit v1.2.3