зеркало из https://github.com/mozilla/pjs.git
Bug 99409: Customized Linux build works only on WinNT platform (r=tao)
Channging path names to support linux format
This commit is contained in:
Родитель
1f1e38b754
Коммит
35db7c07eb
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче