diff --git a/scripts/post-update-notify.rb b/scripts/post-update-notify.rb index 9b8d13b..d458743 100644 --- a/scripts/post-update-notify.rb +++ b/scripts/post-update-notify.rb @@ -3,9 +3,9 @@ require 'xmpp4r' require 'xmpp4r/muc/helper/simplemucclient' -#refname = ARGV[0] -oldrev = ARGV[1] -newrev = ARGV[2] +oldrev = gets.chomp +newrev = gets.chomp +refname = gets.chomp user = ENV['GL_USER'] @jabber_id= "git@higgsboson.tk"