X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=tools%2Fmise_en_prod.rb;h=19e180ba9bbce72ec0ead280325b49fc778787ad;hp=09cd568fd55c0137bcabda8e51ab1009a3459ed9;hb=a193d10c45d8226937c91a17dc588e4f6f1586fd;hpb=64ef87442b933d47f4dbc9dfec9a5a16e522c375 diff --git a/tools/mise_en_prod.rb b/tools/mise_en_prod.rb index 09cd568..19e180b 100755 --- a/tools/mise_en_prod.rb +++ b/tools/mise_en_prod.rb @@ -37,6 +37,7 @@ def creer_remote_rep(rep) end creer_remote_rep('BD') +`ssh #{$host} "chmod g+w #{$rep_remote}/BD"` Dir.chdir('..') print `rsync #{$opt_rsync} index.yaws #{$host}:#{$rep_remote}` @@ -56,6 +57,8 @@ Dir.entries(rep_js).each{|fichier| creer_remote_rep('modules') `rsync #{$opt_rsync} -r modules/ebin #{$host}:#{$rep_remote}/modules` +`rsync #{$opt_rsync} -r modules/include #{$host}:#{$rep_remote}/modules` + `rsync #{$opt_rsync} -r pages #{$host}:#{$rep_remote}`