From d9d46ceb8fab656528991c72abe73227a4cf2346 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Sat, 1 Sep 2007 02:06:25 +0000 Subject: [PATCH] set the variables using the correct syntax git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- lib/capistrano/recipes/deploy.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/capistrano/recipes/deploy.rb b/lib/capistrano/recipes/deploy.rb index 18d3302f..a1712643 100644 --- a/lib/capistrano/recipes/deploy.rb +++ b/lib/capistrano/recipes/deploy.rb @@ -40,9 +40,9 @@ _cset(:strategy) { Capistrano::Deploy::Strategy.new(deploy_via, self) } _cset(:release_name) { set :deploy_timestamped, true; Time.now.utc.strftime("%Y%m%d%H%M%S") } -_cset(:version_dir) "releases" -_cset(:shared_dir) "shared" -_cset(:current_dir) "current" +_cset :version_dir, "releases" +_cset :shared_dir, "shared" +_cset :current_dir, "current" _cset(:releases_path) { File.join(deploy_to, version_dir) } _cset(:shared_path) { File.join(deploy_to, shared_dir) }