Reenable the setting of the %CONFIG% variable when doing a CONFIG -get command (reported in forum)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3842
This commit is contained in:
parent
babf6195f5
commit
2a8cf58b99
1 changed files with 2 additions and 0 deletions
|
@ -575,6 +575,7 @@ void CONFIG::Run(void) {
|
|||
// it's a property name
|
||||
std::string val = sec->GetPropValue(pvars[0].c_str());
|
||||
WriteOut("%s",val.c_str());
|
||||
first_shell->SetEnv("CONFIG",val.c_str());
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -592,6 +593,7 @@ void CONFIG::Run(void) {
|
|||
return;
|
||||
}
|
||||
WriteOut("%s",val.c_str());
|
||||
first_shell->SetEnv("CONFIG",val.c_str());
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue