mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
python/cssutils: script clean up
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
7776d4cfbf
commit
0a151297c6
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue