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
Родитель bc2abb1968
Коммит 4edb1e1b3f
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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);

Просмотреть файл

@ -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;