summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-10-23 12:23:40 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-10-23 12:23:40 +0200
commit90e960f4ceea59eb2cd21e6e6077899cb591dd0f (patch)
treec28e58e8ead360ef7d03bceff68b43ff93759c25
parent744e11c324e361a6665bcbb0314a2fe5fdf5358a (diff)
parenta3623a9691b4cba19338fb6fe1c7acf64d5e8e70 (diff)
downloadgitlab-ce-90e960f4ceea59eb2cd21e6e6077899cb591dd0f.tar.gz
Merge pull request #8088 from cirosantilli/sh-str-to-args
Use argument list for sh instead of string
-rw-r--r--lib/tasks/gitlab/shell.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/shell.rake b/lib/tasks/gitlab/shell.rake
index c3d1aa0125d..3275f9017b5 100644
--- a/lib/tasks/gitlab/shell.rake
+++ b/lib/tasks/gitlab/shell.rake
@@ -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