Author: boisvert
Date: Fri Oct 1 05:25:03 2010
New Revision: 1003390
URL: http://svn.apache.org/viewvc?rev=1003390&view=rev
Log:
Fix previous commit
Modified:
buildr/trunk/lib/buildr/shell.rb
Modified: buildr/trunk/lib/buildr/shell.rb
URL:
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/shell.rb?rev=1003390&r1=1003389&r2=1003390&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/shell.rb (original)
+++ buildr/trunk/lib/buildr/shell.rb Fri Oct 1 05:25:03 2010
@@ -79,12 +79,12 @@ module Buildr
unless @rebel_home
@rebel_home = ENV['REBEL_HOME'] || ENV['JREBEL'] ||
ENV['JREBEL_HOME']
- if @rebel_home && File.directory? @rebel_home
+ if @rebel_home and File.directory? @rebel_home
@rebel_home += File::SEPARATOR + 'jrebel.jar'
end
end
- if @rebel_home && File.exists? @rebel_home
+ if @rebel_home and File.exists? @rebel_home
@rebel_home
else
nil