From 13377b59e513dcbaaba561b3fa03b33b4a5b996d Mon Sep 17 00:00:00 2001 From: "varada%netscape.com" Date: Tue, 7 Dec 1999 21:26:20 +0000 Subject: [PATCH] fix for bug #5020 creating the proper cd output directory git-svn-id: svn://10.0.0.236/trunk@55593 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/ib/ib.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mozilla/cck/ib/ib.cpp b/mozilla/cck/ib/ib.cpp index b6b118545d3..b82cdf42155 100644 --- a/mozilla/cck/ib/ib.cpp +++ b/mozilla/cck/ib/ib.cpp @@ -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; + }