From: Greg Hudson Date: Thu, 13 May 2010 16:46:50 +0000 (+0000) Subject: Make k5test.py work for builds in the source dir X-Git-Tag: krb5-1.9-beta1~239 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=592c43b440bccf0530f7935f926a7f74e12ff7c8;p=krb5.git Make k5test.py work for builds in the source dir git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24015 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/k5test.py b/src/util/k5test.py index 9ac1fc845..880c6bd4f 100644 --- a/src/util/k5test.py +++ b/src/util/k5test.py @@ -387,7 +387,7 @@ def _find_buildtop(): def _find_srctop(): - scriptdir = os.path.dirname(sys.argv[0]) + scriptdir = os.path.abspath(os.path.dirname(sys.argv[0])) if not scriptdir: scriptdir = os.getcwd() root = _find_root(scriptdir)