From: W. Trevor King Date: Fri, 17 Jul 2009 12:21:49 +0000 (-0400) Subject: Setup be-handle-mail.BE_DIR to point to the BE repo by default. X-Git-Tag: 1.0.0~62^2~46^2~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=edad653b9ecffb996d187ccdbbf13e307e5863e1;p=be.git Setup be-handle-mail.BE_DIR to point to the BE repo by default. At least, it points to the directory where be-handle-mail lives. If you haven't moved it, that will be somewhere inside the BE repository. This removes my hardcoded BE_DIR. --- diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail index 180320d..666538d 100755 --- a/interfaces/email/interactive/be-handle-mail +++ b/interfaces/email/interactive/be-handle-mail @@ -41,7 +41,7 @@ import time SUBJECT_COMMENT = "[be-bug]" HANDLER_ADDRESS = "BE Bugs " LOGFILE = os.path.join(os.path.dirname(__file__), "be-handle-mail.log") -BE_DIR = os.path.expanduser("~/src/fun/be/be.email") +BE_DIR = os.path.abspath(os.path.dirname(__file__)) ALLOWED_COMMANDS = ["new", "comment", "list", "show", "help"]