fix(scripts): 修复build-libraries脚本执行时报错
This commit is contained in:
@@ -27,6 +27,8 @@ if __name__ == "__main__":
|
|||||||
if not path.isabs(target_path):
|
if not path.isabs(target_path):
|
||||||
target_path = path.abspath(path.join(working_path, target_path))
|
target_path = path.abspath(path.join(working_path, target_path))
|
||||||
output = None
|
output = None
|
||||||
|
if not path.exists(target_path):
|
||||||
|
exit(0)
|
||||||
if path.isfile(target_path):
|
if path.isfile(target_path):
|
||||||
exit(0)
|
exit(0)
|
||||||
output = {}
|
output = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user