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
|
// check if the MUSRFITPATH system variable is set
|
||||||
pmusrpath = getenv("MUSRFITPATH");
|
pmusrpath = getenv("MUSRFITPATH");
|
||||||
if (pmusrpath == 0) { // not set, will try default one
|
if (pmusrpath == 0) { // not set, will try default one
|
||||||
home = getenv("HOME");
|
home = getenv("ROOTSYS");
|
||||||
sprintf(musrpath, "%s/analysis/bin", home);
|
sprintf(musrpath, "%s/bin", home);
|
||||||
cout << endl << "**WARNING** MUSRFITPATH environment variable not set will try " << musrpath << endl;
|
cout << endl << "**WARNING** MUSRFITPATH environment variable not set will try " << musrpath << endl;
|
||||||
} else {
|
} else {
|
||||||
strncpy(musrpath, pmusrpath, sizeof(musrpath));
|
strncpy(musrpath, pmusrpath, sizeof(musrpath));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user