summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-12-12 10:42:55 +0100
committerMarin Jankovski <maxlazio@gmail.com>2014-12-12 10:42:55 +0100
commite5951cf4aec15fc58730f88454d2b6d71ff25802 (patch)
treebc80ab40d6543763dda831e3ec259f3122738370
parentbd43cf065384745e4386237ad0f5d4eb14868034 (diff)
downloadgitlab-ce-e5951cf4aec15fc58730f88454d2b6d71ff25802.tar.gz
Don't forget to splat.
-rw-r--r--lib/tasks/gitlab/shell.rake8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tasks/gitlab/shell.rake b/lib/tasks/gitlab/shell.rake
index ce5bec39c9d..9af93300e08 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)
- system(%W(git clone -- #{args.repo} #{target_dir}))
+ system(*%W(git clone -- #{args.repo} #{target_dir}))
end
# Make sure we're on the right tag
@@ -27,7 +27,7 @@ namespace :gitlab do
reseted = reset_to_commit(args)
unless reseted
- system(%W(git fetch origin))
+ system(*%W(git fetch origin))
reset_to_commit(args)
end
@@ -58,7 +58,7 @@ namespace :gitlab do
File.open("config.yml", "w+") {|f| f.puts config.to_yaml}
# Launch installation process
- system(%W(bin/install))
+ system(*%W(bin/install))
end
# Required for debian packaging with PKGR: Setup .ssh/environment with
@@ -131,7 +131,7 @@ namespace :gitlab do
end
tag = tag.strip
- system(%W(git reset --hard #{tag}))
+ system(*%W(git reset --hard #{tag}))
end
end