File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,11 @@ list-dist-deps::
4545prepare-dist ::
4646 $(verbose ) sed ' s/%%VSN%%/$(PROJECT_VERSION)/' bin/rabbitmqadmin \
4747 > $(EZ_DIR ) /priv/www/cli/rabbitmqadmin
48- mv $(EZ_DIR ) /priv/www/css/main.css $(EZ_DIR ) /priv/www/css/main-$(PROJECT_VERSION ) .css
49- $(verbose ) sed " s#css/main.css#css/main-$( PROJECT_VERSION) .css#" priv/www/index.html \
50- > $(EZ_DIR ) /priv/www/index.html
5148 echo " management_version = \" $( PROJECT_VERSION) \" ;" >> $(EZ_DIR ) /priv/www/js/global.js
49+ mv $(EZ_DIR ) /priv/www/css/main.css $(EZ_DIR ) /priv/www/css/main-$(PROJECT_VERSION ) .css
50+ mkdir $(EZ_DIR ) /priv/www/js/$(PROJECT_VERSION )
51+ mv $(EZ_DIR ) /priv/www/js/tmpl/ $(EZ_DIR ) /priv/www/js/$(PROJECT_VERSION ) /
52+ mv $(EZ_DIR ) /priv/www/js/main.js $(EZ_DIR ) /priv/www/js/$(PROJECT_VERSION ) /main.js
53+ $(verbose ) sed -e " s#css/main.css#css/main-$( PROJECT_VERSION) .css#" \
54+ -e " s#js/main.js#js/$( PROJECT_VERSION) /main.js#" \
55+ priv/www/index.html > $(EZ_DIR ) /priv/www/index.html
Original file line number Diff line number Diff line change @@ -1286,7 +1286,7 @@ function format(template, json) {
12861286 ejs_cached [ template ] = true ;
12871287 cache = false ;
12881288 }
1289- var tmpl = new EJS ( { url : 'js/tmpl/' + template + '.ejs' , cache : cache } ) ;
1289+ var tmpl = new EJS ( { url : 'js/' + management_version + '/ tmpl/' + template + '.ejs' , cache : cache } ) ;
12901290 return tmpl . render ( json ) ;
12911291 } catch ( err ) {
12921292 clearInterval ( timer ) ;
You can’t perform that action at this time.
0 commit comments