fix pathfinding for CI

This commit is contained in:
Shuduo Sang 2020-07-08 16:19:01 +08:00
parent 44bc7056da
commit d2b805f3a5
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class TDDnode:
if ("taosd" in files): if ("taosd" in files):
rootRealPath = os.path.dirname(os.path.realpath(root)) rootRealPath = os.path.dirname(os.path.realpath(root))
if ("packaging" not in rootRealPath): if ("packaging" not in rootRealPath):
buildPath = root[:root.find("build")] buildPath = root[:len(root)-len("/build/bin")]
break break
return buildPath return buildPath