From bbce80de72cca103b2d243b917221823d276f023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 31 Oct 2013 20:21:43 +0100 Subject: [PATCH] commit bot bekommt Daten von stdin --- scripts/post-update-notify.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"