From bbc590e3d0b2dd683fd92503d73a1426ab29f82d Mon Sep 17 00:00:00 2001 From: mkr Date: Fri, 26 Dec 2008 11:51:50 +0000 Subject: [PATCH] Use PVINSTALLHOME environment variable instead of PVHOME. --- src/PVGUI/PVGUI_Module.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PVGUI/PVGUI_Module.cxx b/src/PVGUI/PVGUI_Module.cxx index ddec75c9..3c5ef3c6 100644 --- a/src/PVGUI/PVGUI_Module.cxx +++ b/src/PVGUI/PVGUI_Module.cxx @@ -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)) { -- 2.39.2