lib/ash/drupal.rb in capistrano-ash-1.1.2 vs lib/ash/drupal.rb in capistrano-ash-1.1.3

- old
+ new

@@ -93,14 +93,12 @@ # -------------------------------------------- namespace :drupal do desc "Symlink shared directories" task :symlink, :except => { :no_release => true } do multisites.each_pair do |folder, url| - run<<-CMD - ln -nfs #{shared_path}/#{url}/files #{latest_release}/sites/#{url}/files && - ln -nfs #{latest_release}/sites/#{url}/settings.php.#{stage} #{latest_release}/sites/#{url}/settings.php && - #{drush_bin} -l #{url} -r #{current_path} vset --yes file_directory_path sites/#{url}/files - CMD + run "ln -nfs #{shared_path}/#{url}/files #{latest_release}/sites/#{url}/files" + run "ln -nfs #{latest_release}/sites/#{url}/settings.php.#{stage} #{latest_release}/sites/#{url}/settings.php" + run "#{drush_bin} -l #{url} -r #{current_path} vset --yes file_directory_path sites/#{url}/files" end end desc "Replace local database paths with remote paths" task :updatedb, :except => { :no_release => true } do