From aa96591e895b3d9ad9faa029106119dca520fea9 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 git-svn-id: svn://10.0.0.236/trunk@102922 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/ib/comp.cpp | 2 ++ mozilla/cck/ib/ib.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mozilla/cck/ib/comp.cpp b/mozilla/cck/ib/comp.cpp index 6daba8b59d5..88d30d2c136 100644 --- a/mozilla/cck/ib/comp.cpp +++ b/mozilla/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/mozilla/cck/ib/ib.cpp b/mozilla/cck/ib/ib.cpp index dc392386830..1098f14d376 100644 --- a/mozilla/cck/ib/ib.cpp +++ b/mozilla/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;