From 885b52cc576aebc9bb9e109fd76f9f2456308ba1 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Wed, 7 Dec 2016 08:13:47 +0100 Subject: [PATCH] Support running VCS umake version without being in root directory We were forced to be in root directory beforehand to run correct umake version if a system one was installed. Ensure we don't require this anymore. Fixes: #377 --- bin/umake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/umake b/bin/umake index afa43ddd..f743087b 100755 --- a/bin/umake +++ b/bin/umake @@ -21,7 +21,7 @@ import os import sys # Run local umake from this helper -root_dir = os.path.dirname(os.path.dirname(__file__)) +root_dir = os.path.dirname(os.path.abspath(os.path.dirname(__file__))) sys.path.insert(0, root_dir) from umake import main