From 7f804a3df72c1c9d2f9d401794b55de6d39ad1b6 Mon Sep 17 00:00:00 2001 From: James Pace Date: Sat, 20 Dec 2025 10:56:33 -0500 Subject: [PATCH] Handle install directory not existing correctly. --- run.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run.py b/run.py index 2321aa9..5651301 100755 --- a/run.py +++ b/run.py @@ -29,6 +29,10 @@ def export_vcs(project_directory, install_path): cwd = Path(os.getcwd()) project_directory = cwd.parent.parent + # Make the install directory if it doesn't exist. + mkdir_command = "mkdir -p {}".format(install_path) + subprocess.run(mkdir_command, shell=True) + # Where we're going to save the output. output_file = install_path + "/project_state.repos"