]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Use PVINSTALLHOME environment variable instead of PVHOME. V2008_FINAL
authormkr <mkr@opencascade.com>
Fri, 26 Dec 2008 11:51:50 +0000 (11:51 +0000)
committermkr <mkr@opencascade.com>
Fri, 26 Dec 2008 11:51:50 +0000 (11:51 +0000)
src/PVGUI/PVGUI_Module.cxx

index ddec75c91a8203e7e8a08a314cff6b7471a21da8..3c5ef3c610e5c59d3152d5ebed04ae6aaeed6678 100644 (file)
@@ -616,13 +616,13 @@ void PVGUI_Module::makeAssistant()
   const char* binDir = "\\";
   const char* binDir1 = "\\..\\";
 #else
-  const char* binDir = "/bin/";
-  const char* binDir1 = "/bin/bin/";
+  const char* binDir = "/";
+  const char* binDir1 = "/bin/";
 #endif
 
-  QString helper = QString(getenv("PVHOME")) + binDir + QString("pqClientDocFinder.txt");
+  QString helper = QString(getenv("PVINSTALLHOME")) + binDir + QString("pqClientDocFinder.txt");
   if(!QFile::exists(helper))
-    helper = QString(getenv("PVHOME")) + binDir1 + QString("pqClientDocFinder.txt");
+    helper = QString(getenv("PVINSTALLHOME")) + binDir1 + QString("pqClientDocFinder.txt");
   if(QFile::exists(helper)) {
     QFile file(helper);
     if(file.open(QIODevice::ReadOnly)) {