提交 a3fb64d1 编写于 作者: M Mieszko Boczkowski

Pass custom config file path as absolute

上级 7079e7ea
......@@ -246,7 +246,7 @@ if __name__ == "__main__":
log.debug("Args: %s", args)
os.environ["OPENCV_JS_WHITELIST"] = args.config
os.environ["OPENCV_JS_WHITELIST"] = os.path.abspath(args.config)
if 'EMMAKEN_JUST_CONFIGURE' in os.environ:
del os.environ['EMMAKEN_JUST_CONFIGURE'] # avoid linker errors with NODERAWFS message then using 'emcmake' launcher
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册