← Back to team overview

curtin-dev team mailing list archive

[Merge] ~dbungert/curtin:env-python into curtin:master

 

Dan Bungert has proposed merging ~dbungert/curtin:env-python into curtin:master.

Commit message:
In curtin/bin/curtin, use the PYTHON variable if it has been set.
Continue to fallback to PY3OR2_PYTHON if not.

Requested reviews:
  curtin developers (curtin-dev)

For more details, see:
https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/405655
-- 
Your team curtin developers is requested to review the proposed merge of ~dbungert/curtin:env-python into curtin:master.
diff --git a/bin/curtin b/bin/curtin
index 793fbcb..89cb319 100755
--- a/bin/curtin
+++ b/bin/curtin
@@ -4,7 +4,7 @@
 PY3OR2_MAIN="curtin"
 PY3OR2_MCHECK="curtin.deps.check"
 PY3OR2_PYTHONS=${PY3OR2_PYTHONS:-"python3:python"}
-PYTHON=${PY3OR2_PYTHON}
+PYTHON=${PYTHON:-"$PY3OR2_PYTHON"}
 PY3OR2_DEBUG=${PY3OR2_DEBUG:-0}
 
 debug() {

Follow ups