From 53326c17a48864f8250f75101af32ceb1f629bc8 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 19 Oct 2015 12:17:21 -0200 Subject: [PATCH] fix my stupidity --- Rakefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 01dcd5a..bad4894 100644 --- a/Rakefile +++ b/Rakefile @@ -16,9 +16,10 @@ iptables_file = "config/#{$SPB_ENV}/iptables-filter-rules" ENV['CHAKE_TMPDIR'] = "tmp/chake.#{$SPB_ENV}" ENV['CHAKE_SSH_CONFIG'] = ssh_config_file -ENV['CHAKE_RSYNC_OPTIONS'] ||= '' -ENV['CHAKE_RSYNC_OPTIONS'] << ' ' << '--exclude backups' -ENV['CHAKE_RSYNC_OPTIONS'] << ' ' << '--exclude src' +chake_rsync_options = ENV['CHAKE_RSYNC_OPTIONS'].to_s.clone +chake_rsync_options += ' --exclude backups' +chake_rsync_options += ' --exclude src' +ENV['CHAKE_RSYNC_OPTIONS'] = chake_rsync_options if $SPB_ENV == 'lxc' system("mkdir -p config/lxc; sudo lxc-ls -f -F name,ipv4 | sed -e '/^softwarepublico/ !d; s/softwarepublico_//; s/_[0-9_]*/:/ ' > #{ips_file}.new") -- libgit2 0.21.2