From 4edb1e1b3f3cdef1c02021975e0055b8708176da Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Fri, 14 Sep 2001 19:42:37 +0000 Subject: [PATCH] Bug 99409: Customized Linux build works only on WinNT platform (r=tao) Channging path names to support linux format --- cck/ib/comp.cpp | 2 ++ cck/ib/ib.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cck/ib/comp.cpp b/cck/ib/comp.cpp index 6daba8b59d5a..88d30d2c1367 100644 --- a/cck/ib/comp.cpp +++ b/cck/ib/comp.cpp @@ -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); diff --git a/cck/ib/ib.cpp b/cck/ib/ib.cpp index dc3923868307..1098f14d3765 100644 --- a/cck/ib/ib.cpp +++ b/cck/ib/ib.cpp @@ -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;