X-Git-Url: http://git.euphorik.ch/?p=pompage.git;a=blobdiff_plain;f=mise_en_prod.rb;h=cda6118fd2bdc611aaec9dc913a5185201e84154;hp=a6b804cc450d7bae44bc1062b139b722a025c66e;hb=c3b0deb3d8c9f439739c79806e915c29bc1d4b84;hpb=cff6539539a79e014f6ac8df46716cafce2c8472 diff --git a/mise_en_prod.rb b/mise_en_prod.rb index a6b804c..cda6118 100644 --- a/mise_en_prod.rb +++ b/mise_en_prod.rb @@ -7,8 +7,6 @@ dest = "Z:\\var\\www\\divx" dest = $*[0] if $*.length > 1 -# pour windows ['xml', 'xsl', 'js', 'css', 'img', 'xpi'].each{|rep| - `mkdir #{dest}\\#{rep}` - `xcopy /Y /F #{rep} #{dest}\\#{rep}` + `cp -Ru #{rep} #{dest}` }