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 40a46fd4e5.
This commit is contained in:
Clayton Craft 2024-04-24 11:53:24 -07:00
parent ec057e2ba2
commit 28f8f3135e
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

View file

@ -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")