From ffca390da132242ceb6033f97e6ed1777c4e4fb4 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 7 Jun 2019 02:19:32 +0300 Subject: [PATCH] build-waf: fix waifulib path error in prelude --- build-waf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-waf.sh b/build-waf.sh index 39996bc..3214f09 100755 --- a/build-waf.sh +++ b/build-waf.sh @@ -1,7 +1,7 @@ #!/bin/bash TOOLS="msvs,clang_compilation_database,color_msvc" -PRELUDE=$'\tsys.path.insert(0, \'scripts/waifulib\')' +PRELUDE=$'\tsys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), \'scripts\', \'waifulib\'))' # a set of relatively stable tools # TODO: make it possible to override this list