Skip to content
Snippets Groups Projects
Commit 6d73d57d authored by David Pursell's avatar David Pursell Committed by CQ bot account: commit-bot@chromium.org
Browse files

[scripts] fix TERM handling

Patch 01d639cf changed boot arg handling
by saving them to a map rather than reading them out of the environment,
with the effect that now later boot args override earlier ones.

Given this new behavior, this CL moves the default TERM handling to the
beginning of the boot args so that the caller can override it.

Test: `scripts/run-zircon-x64 -Cb -c "TERM=dumb"` then `echo $TERM`
      now properly shows "dumb"

Change-Id: Id4f78bb159a65a16eaa64172154ca15372cb20b7
parent 6c1d516b
No related branches found
No related tags found
No related merge requests found
Loading
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