create $FG_HOME/Export/
This commit is contained in:
parent
35396de6f8
commit
79ad3d44b8
1 changed files with 4 additions and 0 deletions
|
@ -597,6 +597,10 @@ bool fgInitConfig ( int argc, char **argv ) {
|
||||||
if (fg_home)
|
if (fg_home)
|
||||||
config = fg_home;
|
config = fg_home;
|
||||||
|
|
||||||
|
SGPath home_export(config.str());
|
||||||
|
home_export.append("Export/dummy");
|
||||||
|
home_export.create_dir(0777);
|
||||||
|
|
||||||
// Set /sim/fg-home and don't allow malign code to override it until
|
// Set /sim/fg-home and don't allow malign code to override it until
|
||||||
// Nasal security is set up. Use FG_HOME if necessary.
|
// Nasal security is set up. Use FG_HOME if necessary.
|
||||||
SGPropertyNode *home = fgGetNode("/sim", true);
|
SGPropertyNode *home = fgGetNode("/sim", true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue