diff options
| author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-10-23 12:23:40 +0200 |
|---|---|---|
| committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-10-23 12:23:40 +0200 |
| commit | 90e960f4ceea59eb2cd21e6e6077899cb591dd0f (patch) | |
| tree | c28e58e8ead360ef7d03bceff68b43ff93759c25 /lib | |
| parent | 744e11c324e361a6665bcbb0314a2fe5fdf5358a (diff) | |
| parent | a3623a9691b4cba19338fb6fe1c7acf64d5e8e70 (diff) | |
| download | gitlab-ce-90e960f4ceea59eb2cd21e6e6077899cb591dd0f.tar.gz | |
Merge pull request #8088 from cirosantilli/sh-str-to-args
Use argument list for sh instead of string
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tasks/gitlab/shell.rake | 2 |
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 |
