1
0
Fork 0

create $FG_HOME/Export/

This commit is contained in:
mfranz 2009-01-10 16:48:22 +00:00 committed by Tim Moore
parent 35396de6f8
commit 79ad3d44b8

View file

@ -597,6 +597,10 @@ bool fgInitConfig ( int argc, char **argv ) {
if (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
// Nasal security is set up. Use FG_HOME if necessary.
SGPropertyNode *home = fgGetNode("/sim", true);