File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,14 @@ def main():
7171
7272 log .info (f"Image: { full_image_name } " )
7373
74- dst_deps_file = Path (args .context ) / "scripts" / "deps.txt"
74+ dst_scripts_dir = Path (args .context ) / "scripts"
75+ dst_deps_file = dst_scripts_dir / "deps.txt"
7576 # The docker file may provide a special deps.txt in its docker context dir and uses that one.
7677 # Otherwise, copy a generic one from this repo's cmake dir.
7778 if not dst_deps_file .exists ():
7879 log .info (f"Copy deps.txt to : { dst_deps_file } " )
80+ if not dst_scripts_dir .exists ():
81+ dst_scripts_dir .mkdir (parents = True , exist_ok = True )
7982 shutil .copyfile (Path (REPO_DIR ) / "cmake" / "deps.txt" , str (dst_deps_file ))
8083
8184 if "manylinux" in args .dockerfile and args .multiple_repos :
You can’t perform that action at this time.
0 commit comments