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:
parent
ec057e2ba2
commit
28f8f3135e
1 changed files with 0 additions and 7 deletions
|
@ -15,13 +15,6 @@ def path_pmbootstrap():
|
||||||
code from there.
|
code from there.
|
||||||
returns: pmbootstrap installation folder
|
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
|
# This variable is set by pmbootstrap 1.52 and later
|
||||||
# If it's undefined, try to find 'pmbootstrap' in path
|
# If it's undefined, try to find 'pmbootstrap' in path
|
||||||
bin = os.environ.get("PMBOOTSTRAP_CMD") or shutil.which("pmbootstrap")
|
bin = os.environ.get("PMBOOTSTRAP_CMD") or shutil.which("pmbootstrap")
|
||||||
|
|
Loading…
Reference in a new issue