lib/upgrade.rb in dev_tasks-0.0.49 vs lib/upgrade.rb in dev_tasks-0.0.50

- old
+ new

@@ -24,10 +24,10 @@ dest = "./dep/#{File.basename(source_dep)}" if(!File.exists?(dest)) self.add "<%FileUtils.cp('#{source_dep}','#{dest}')%>" else - self.add "<%FileUtils.cp('#{source_dep}','#{dest}')%>" if(File.mtime(source) > File.mtime(dest)) + self.add "<%FileUtils.cp('#{source_dep}','#{dest}')%>" if(File.mtime(source_dep) > File.mtime(dest)) end } end end end \ No newline at end of file