From e5951cf4aec15fc58730f88454d2b6d71ff25802 Mon Sep 17 00:00:00 2001
From: Marin Jankovski <maxlazio@gmail.com>
Date: Fri, 12 Dec 2014 10:42:55 +0100
Subject: [PATCH] Don't forget to splat.

---
 lib/tasks/gitlab/shell.rake | 8 ++++----
 1 file 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
 
-- 
2.30.9