mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 99409: Customized Linux build works only on WinNT platform (r=tao)
Channging path names to support linux format
This commit is contained in:
parent
bc2abb1968
commit
4edb1e1b3f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user