Skip to content
Unverified Commit dd8b0fcf authored by aszlig's avatar aszlig
Browse files

vm/windows: Save envirenoment before running VM.



Later, when we start the actual builder, we're going to restore those
environment variables. We're using "(set; declare -p)", here, because
the former is just printing _all_ environment variables, even those not
supported, and the latter only lists specifically declared variables,
which also encludes exports.

The "declare -p" command also emits those variables in a format similar
to the "export" command.

Signed-off-by: default avataraszlig <aszlig@redmoonstudios.org>
parent 707b7ad1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment