From 6fe8f1c8cfa35962d8e6d5b04bc109318098fe0d Mon Sep 17 00:00:00 2001 From: nemu Date: Tue, 16 Jun 2009 06:29:33 +0000 Subject: [PATCH] some more adaptation to the new Makefiles --- src/classes/PStartupHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/PStartupHandler.cpp b/src/classes/PStartupHandler.cpp index f116c649..812e98da 100644 --- a/src/classes/PStartupHandler.cpp +++ b/src/classes/PStartupHandler.cpp @@ -67,8 +67,8 @@ PStartupHandler::PStartupHandler() // check if the MUSRFITPATH system variable is set pmusrpath = getenv("MUSRFITPATH"); if (pmusrpath == 0) { // not set, will try default one - home = getenv("HOME"); - sprintf(musrpath, "%s/analysis/bin", home); + home = getenv("ROOTSYS"); + sprintf(musrpath, "%s/bin", home); cout << endl << "**WARNING** MUSRFITPATH environment variable not set will try " << musrpath << endl; } else { strncpy(musrpath, pmusrpath, sizeof(musrpath));