Bug 99409: Customized Linux build works only on WinNT platform (r=tao)

Channging path names to support linux format
This commit is contained in:
shrutiv%netscape.com 2001-09-14 19:42:37 +00:00
parent bc2abb1968
commit 4edb1e1b3f
2 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,8 @@ int GenerateComponentList(CString parms, WIDGET *curWidget)
_mkdir(linuxDir);
_chdir(linuxinstDirPath);
tnscpxpilinuxPath.Replace("\\","/");
tnscpxpilinuxPath.Replace(":","");
tnscpxpilinuxPath.Insert(0,"//");
CString command = "gzip -d " + tarfile;
ExecuteCommand((char *)(LPCTSTR) command, SW_HIDE, INFINITE);

View File

@ -993,6 +993,8 @@ void CreateLinuxInstaller()
_chdir(outputPath);
templinuxPath = tempPath;
templinuxPath.Replace("\\", "/");
templinuxPath.Replace(":","");
templinuxPath.Insert(0,"//");
DeleteFile(tarfile1);
DeleteFile(tarfile);
CString command = "tar -cvf " + tarfile1 + " -C " + templinuxPath + "/" + templinuxDir + spaces + nsinstallerDir;