Skip to content

Commit

Permalink
Fix the path to FT0 etc files
Browse files Browse the repository at this point in the history
  • Loading branch information
Barthelemy committed Sep 23, 2024
1 parent 288199b commit 915ce31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Modules/FIT/FT0/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ install(FILES etc/ft0-digits.json
etc/ft0-post-processing.json
etc/ft0-recpoints.json
etc/FT0_LUT.csv
DESTINATION Modules/FIT/FT0/etc)
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/Modules/FIT/FT0/etc)

# ---- Executables ----
# keep commented as an example
Expand Down
2 changes: 1 addition & 1 deletion Modules/FIT/FT0/include/FT0/ChannelGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ChannelGeometry
static std::string getFilepath(const std::string& filename = "FT0_LUT.csv")
{
const auto pathEnv = std::getenv("QUALITYCONTROL_ROOT");
const std::string subfilepath = "/Modules/FIT/FT0/etc/" + filename;
const std::string subfilepath = "/etc/Modules/FIT/FT0/etc/" + filename;
if (pathEnv) {
return pathEnv + subfilepath;
}
Expand Down

0 comments on commit 915ce31

Please sign in to comment.