From ee2169eb6ca2d8ddfb4d420444cdee25112fc5cf Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sun, 5 Sep 2010 17:55:22 -0700 Subject: [PATCH] irc.gitbot: fix load error --- extra/irc/gitbot/gitbot.factor | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/extra/irc/gitbot/gitbot.factor b/extra/irc/gitbot/gitbot.factor index 02337276e6..c6fc67a8c6 100644 --- a/extra/irc/gitbot/gitbot.factor +++ b/extra/irc/gitbot/gitbot.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: fry irc.client irc.client.chats kernel namespaces sequences threads io.launcher io splitting -make mason.common mason.updates calendar math timers +make mason.common mason.git calendar math timers io.encodings.8-bit.latin1 debugger ; IN: irc.gitbot @@ -47,7 +47,9 @@ M: object handle-message drop ; : check-for-updates ( chat -- ) '[ - git-id git-pull-cmd short-running-process git-id + git-id + { "git" "pull" "origin" "master" } short-running-process + git-id _ report-updates ] try ;