From b9633b16cebe4e7e0e5ec4634f5af2e4423b9367 Mon Sep 17 00:00:00 2001 From: jniedzie Date: Thu, 29 Jan 2015 11:39:15 +0100 Subject: [PATCH] online reco config file now is being installed and read from installation directory --- MONITOR/alionlinereco/AliOnlineReconstructionUtil.h | 2 +- MONITOR/alionlinereco/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MONITOR/alionlinereco/AliOnlineReconstructionUtil.h b/MONITOR/alionlinereco/AliOnlineReconstructionUtil.h index 4e18a6c85d1..76c7063d022 100644 --- a/MONITOR/alionlinereco/AliOnlineReconstructionUtil.h +++ b/MONITOR/alionlinereco/AliOnlineReconstructionUtil.h @@ -39,7 +39,7 @@ namespace AliOnlineReconstructionUtil // return full path to the server configuration file inline const char* GetPathToServerConf() { - return Form("%s/../src/MONITOR/alionlinereco/%s", + return Form("%s/MONITOR/alionlinereco/%s", gSystem->Getenv("ALICE_ROOT"), ALIEVENTSERVER_CONF); } diff --git a/MONITOR/alionlinereco/CMakeLists.txt b/MONITOR/alionlinereco/CMakeLists.txt index 3869a8c3d16..a43a0637d8f 100644 --- a/MONITOR/alionlinereco/CMakeLists.txt +++ b/MONITOR/alionlinereco/CMakeLists.txt @@ -61,5 +61,6 @@ endif(PYTHIA6) # Installation install(TARGETS alionlinereco RUNTIME DESTINATION bin) +install(FILES onlinereco.conf DESTINATION MONITOR/alionlinereco) -- 2.43.0