lib/dev_commands.rb in dev-2.0.91 vs lib/dev_commands.rb in dev-2.0.92

- old
+ new

@@ -850,16 +850,16 @@ } end if(defined?(GIT_EXPORTS)) GIT_EXPORTS.each{|k,v| - if(!File.exists?("#{Command.dev_root}/dep/#{k}")) - uri=v + directory = "#{Command.dev_root}/dep/#{k}" + if(!File.exists?(directory)) if(v.include?('@')) - add "git clone #{v.split('@')[0]} #{k}" + add "git clone #{v.split('@')[0]} #{directory}" add "git reset --hard #{v.split('@')[1]}" else - add "git clone #{v} #{k}" + add "git clone #{v} #{directory}" end end } end end