From f4632b87b91006c347ce3da71837eaadc5668857 Mon Sep 17 00:00:00 2001 From: Ryan Tanenholz <44756861+RockCrafts@users.noreply.github.com> Date: Sun, 16 Feb 2025 13:31:22 -0500 Subject: [PATCH] Penn Courses Fix --- docker/waypoint/install.sh | 3 +++ docker/waypoint/src/main.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/waypoint/install.sh b/docker/waypoint/install.sh index de2cd0c8..165c48ee 100755 --- a/docker/waypoint/install.sh +++ b/docker/waypoint/install.sh @@ -8,6 +8,7 @@ REPO_NAME="infrastructure" OS=$(uname -s | tr '[:upper:]' '[:lower:]') ARCH=$(uname -m) BINARY_SUFFIX="" +CWD=$(pwd) case "$OS" in linux*) @@ -55,3 +56,5 @@ echo "Run 'waypoint-client configure' to get started." echo "Run 'waypoint-client --help' to see available commands." rm -rf $TMP_DIR + +cd $CWD \ No newline at end of file diff --git a/docker/waypoint/src/main.py b/docker/waypoint/src/main.py index 8b391778..bcb4b74e 100644 --- a/docker/waypoint/src/main.py +++ b/docker/waypoint/src/main.py @@ -154,7 +154,7 @@ def init_product(product: str) -> None: shell=True, check=True, ) - if (product != "penn-mobile"): + if (product != "penn-mobile" or product != "penn-courses"): subprocess.run( f"bash -c 'source {venv_path} && cd {backend_path} && python manage.py populate'", shell=True,