Commit 90e960f4 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge pull request #8088 from cirosantilli/sh-str-to-args

Use argument list for sh instead of string
parents 744e11c3 a3623a96
......@@ -17,7 +17,7 @@ namespace :gitlab do
# Clone if needed
unless File.directory?(target_dir)
sh "git clone '#{args.repo}' '#{target_dir}'"
sh(*%W(git clone #{args.repo} #{target_dir}))
end
# Make sure we're on the right tag
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment