From 7e79b64818aeb213ae9a5e5858379b521bb2763e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 31 Oct 2013 20:24:06 +0100 Subject: [PATCH] argumente immer noch nicht richtig geparst --- scripts/post-update-notify.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/post-update-notify.rb b/scripts/post-update-notify.rb index d458743..a2237be 100644 --- a/scripts/post-update-notify.rb +++ b/scripts/post-update-notify.rb @@ -3,9 +3,10 @@ require 'xmpp4r' require 'xmpp4r/muc/helper/simplemucclient' -oldrev = gets.chomp -newrev = gets.chomp -refname = gets.chomp +args = gets.chomp.split(/ /) +oldrev = args[0] +newrev = args[1] +refname = args[2] user = ENV['GL_USER'] @jabber_id= "git@higgsboson.tk"