From 28f8f3135e39a553dbf848fc414f901e7a3bfd69 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Wed, 24 Apr 2024 11:53:24 -0700 Subject: [PATCH] Revert "ci: allow specifying pmbootstrap path to aid running locally (MR 4994)" This was merged erroneously as a part of another MR. See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5033#note_1877584477 This reverts commit 40a46fd4e5d78a59eadd8173865017303a08b0ce. --- .ci/testcases/add_pmbootstrap_to_import_path/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py b/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py index 24bb729fb..5b3a01d01 100755 --- a/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py +++ b/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py @@ -15,13 +15,6 @@ def path_pmbootstrap(): code from there. returns: pmbootstrap installation folder """ - - if path:= os.environ.get("PMBOOTSTRAP_PATH"): - if os.path.exists(path): - return path - else: - print("WARNING: PMBOOTSTRAP_PATH is invalid, trying to detect correct path...") - # This variable is set by pmbootstrap 1.52 and later # If it's undefined, try to find 'pmbootstrap' in path bin = os.environ.get("PMBOOTSTRAP_CMD") or shutil.which("pmbootstrap")