<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -30,9 +30,8 @@ unless defined?(RAILS_ROOT)
 end
 
 unless defined? CRUISE_DATA_ROOT
-  old_projects_path = File.join(RAILS_ROOT, 'projects')
-  if File.directory?(old_projects_path)
-    CRUISE_DATA_ROOT = old_projects_path
+  if ENV['CRUISE_DATA_ROOT']
+    CRUISE_DATA_ROOT = ENV['CRUISE_DATA_ROOT']
   else
     CRUISE_DATA_ROOT = File.join(find_home, &quot;.cruise&quot;)
   end</diff>
      <filename>config/boot.rb</filename>
    </modified>
    <modified>
      <diff>@@ -41,11 +41,8 @@ Capistrano::Configuration.instance(:must_exist).load do
       sudo &quot;rm -rf #{release_path}/projects&quot;
       sudo &quot;mkdir -p #{shared_path}/projects&quot;
       sudo &quot;chmod -R 775 #{shared_path}/projects&quot;
-      sudo &quot;chown deployer #{shared_path}/projects&quot;
-      sudo &quot;chgrp rails #{shared_path}/projects&quot;
+      sudo &quot;chown deployer:rails #{shared_path}/projects&quot;
       sudo &quot;ln -nfs #{shared_path}/projects #{release_path}/projects&quot;
-      sudo &quot;touch #{shared_path}/site_config.rb&quot;
-      sudo &quot;ln -nfs #{shared_path}/site_config.rb #{release_path}/config/site_config.rb&quot;
     end
 
   end</diff>
      <filename>config/recipes/cruisecontrol.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@ include FileUtils
 DATA_ROOT = ARGV[0]
 RAILS_ROOT = File.expand_path(&quot;.&quot;)
 
-if File.exists? 'projects'
+if File.directory? 'projects'
   mv 'projects', DATA_ROOT + '/projects'
 else
   mkdir_p DATA_ROOT + '/projects'</diff>
      <filename>db/migrate/002_move_custom_files_to_directory_in_user_home.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a41685cc3e1c63cc7f05838d9188d6c71617af27</id>
    </parent>
  </parents>
  <author>
    <name>alexeyv</name>
    <email>alexeyv@c04ce798-636b-4ca8-9149-0f9336831111</email>
  </author>
  <url>http://github.com/dustin/cruisecontrolrb/commit/2e1990b5aad62bdff0afc93c6b26746469a8e76b</url>
  <id>2e1990b5aad62bdff0afc93c6b26746469a8e76b</id>
  <committed-date>2008-02-21T17:31:12-08:00</committed-date>
  <authored-date>2008-02-21T17:31:12-08:00</authored-date>
  <message>instead of previous checkin, making it actually look at ENV['CRUISE_DATA_ROOT']

git-svn-id: http://cruisecontrolrb.rubyforge.org/svn/trunk@606 c04ce798-636b-4ca8-9149-0f9336831111</message>
  <tree>0e2b55125f6040d6cdfcf48bf9a457d631390785</tree>
  <committer>
    <name>alexeyv</name>
    <email>alexeyv@c04ce798-636b-4ca8-9149-0f9336831111</email>
  </committer>
</commit>
