lib/dev_commands.rb in dev-2.0.93 vs lib/dev_commands.rb in dev-2.0.94
- old
+ new
@@ -853,12 +853,12 @@
if(defined?(GIT_EXPORTS))
GIT_EXPORTS.each{|k,v|
directory = "#{Command.dev_root}/dep/#{k}"
if(!File.exists?(directory))
if(v.include?('@'))
- add "git clone #{v.split('@')[0]} #{directory}"
+ `git clone #{v.split('@')[0]} #{directory}`
Dir.chdir(directory) do
- add "git reset --hard #{v.split('@')[1]}"
+ `git reset --hard #{v.split('@')[1]}`
end
else
add "git clone #{v} #{directory}"
end
end