changeset 7254:a5a9ded8c673

scripts: fix whitespacecleanup.sh after contextbar.css was removed and style.css is generated
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 23 Apr 2018 00:50:22 +0200
parents 11f829761032
children ca4b2c3c2ffb
files scripts/whitespacecleanup.sh
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/whitespacecleanup.sh	Mon Apr 23 00:44:13 2018 +0200
+++ b/scripts/whitespacecleanup.sh	Mon Apr 23 00:50:22 2018 +0200
@@ -14,12 +14,6 @@
 sed -i -e 's,\([^ /]\){,\1 {,g' `hg loc '*.css'`
 sed -i -e 's|^\([^ /].*,\)\([^ ]\)|\1 \2|g' `hg loc '*.css'`
 
-sed -i -e 's/^\(    [^: ]*\) *: *\([^/]\)/\1: \2/g' kallithea/public/css/{style,contextbar}.css
-sed -i -e '1s|, |,|g' kallithea/public/css/{style,contextbar}.css
-sed -i -e 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/g' kallithea/public/css/{style,contextbar}.css
-sed -i -e 's/^\([^ ,/].*\)   */\1 /g' kallithea/public/css/{style,contextbar}.css
-sed -i -e 's,[ 	][ 	]*$,,g' -e 's, 	,	,g' kallithea/public/js/graph.js
-
 hg mani | xargs chmod -x
 hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x