mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
fix for bug #5020 creating the proper cd output directory
This commit is contained in:
parent
63e0d555bd
commit
b71fdd368f
@ -21,6 +21,7 @@ CString iniDstPath;
|
||||
CString iniSrcPath;
|
||||
CString scriptPath;
|
||||
CString nscpxpiPath;
|
||||
CString cdshellPath;
|
||||
|
||||
WIDGET *tempWidget;
|
||||
int selCount;
|
||||
@ -399,7 +400,8 @@ int StartIB(CString parms, WIDGET *curWidget)
|
||||
rootPath = GetGlobal("Root");
|
||||
configName = GetGlobal("CustomizationList");
|
||||
configPath = rootPath + "Configs\\" + configName;
|
||||
cdPath = configPath + "\\Output";
|
||||
cdPath = configPath + "\\Output\\Core";
|
||||
cdshellPath = configPath + "\\Output\\Shell";
|
||||
networkPath = configPath + "\\Network";
|
||||
tempPath = configPath + "\\Temp";
|
||||
iniDstPath = cdPath + "\\config.ini";
|
||||
@ -494,7 +496,7 @@ int StartIB(CString parms, WIDGET *curWidget)
|
||||
// Didn't work...
|
||||
CreateRshell ();
|
||||
CString shellPath = workspacePath + "\\Autorun\\Shell\\";
|
||||
CopyDir(shellPath, cdPath, NULL, FALSE);
|
||||
CopyDir(shellPath, cdshellPath, NULL, FALSE);
|
||||
|
||||
invisible();
|
||||
|
||||
@ -504,7 +506,7 @@ int StartIB(CString parms, WIDGET *curWidget)
|
||||
|
||||
SetCurrentDirectory(olddir);
|
||||
|
||||
|
||||
return rv;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user