Commit 53326c17a48864f8250f75101af32ceb1f629bc8
1 parent
104103af
Exists in
master
and in
34 other branches
fix my stupidity
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
Rakefile
... | ... | @@ -16,9 +16,10 @@ iptables_file = "config/#{$SPB_ENV}/iptables-filter-rules" |
16 | 16 | ENV['CHAKE_TMPDIR'] = "tmp/chake.#{$SPB_ENV}" |
17 | 17 | ENV['CHAKE_SSH_CONFIG'] = ssh_config_file |
18 | 18 | |
19 | -ENV['CHAKE_RSYNC_OPTIONS'] ||= '' | |
20 | -ENV['CHAKE_RSYNC_OPTIONS'] << ' ' << '--exclude backups' | |
21 | -ENV['CHAKE_RSYNC_OPTIONS'] << ' ' << '--exclude src' | |
19 | +chake_rsync_options = ENV['CHAKE_RSYNC_OPTIONS'].to_s.clone | |
20 | +chake_rsync_options += ' --exclude backups' | |
21 | +chake_rsync_options += ' --exclude src' | |
22 | +ENV['CHAKE_RSYNC_OPTIONS'] = chake_rsync_options | |
22 | 23 | |
23 | 24 | if $SPB_ENV == 'lxc' |
24 | 25 | system("mkdir -p config/lxc; sudo lxc-ls -f -F name,ipv4 | sed -e '/^softwarepublico/ !d; s/softwarepublico_//; s/_[0-9_]*/:/ ' > #{ips_file}.new") | ... | ... |