build-waf: fix waifulib path error in prelude

This commit is contained in:
Alibek Omarov 2019-06-07 02:19:32 +03:00
parent 3149e5793c
commit ffca390da1

View File

@ -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