some more adaptation to the new Makefiles
This commit is contained in:
parent
11f34a21f6
commit
6fe8f1c8cf
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user