Skip to content
Snippets Groups Projects
Verified Commit 862a1e91 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

lists: bootstrap: fix check for model definition

parent 5b569dc1
No related branches found
No related tags found
1 merge request!123Turris OS 5.0 (HBK)
......@@ -17,9 +17,9 @@ end
-- Note: this is named as model for backward compatibility with variable provided
-- by updater version <63
model = os.getenv('BOARD')
if not board then
if not model then
-- TODO we might ask interactively
DIE("Target board has to be provided by BOARD environment variable.")
DIE("Target model has to be provided by BOARD environment variable.")
end
Export('model')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment