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"