Skip to content
Snippets Groups Projects

Fix path resolution in trigger menu services (ATR-20864)

Merged Joerg Stelzer requested to merge stelzer/athena:master-ATR-20864-2 into master
2 files
+ 7
17
Compare changes
  • Side-by-side
  • Inline
Files
2
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#include "PathResolver/PathResolver.h"
@@ -203,6 +203,12 @@ PathResolver::find_file(const std::string& logical_file_name,
System::getEnv(search_path, path_list);
#endif
#ifndef XAOD_ANALYSIS
if (!logical_file_name.empty() && logical_file_name[0]=='/') {
msg(MSG::ERROR) << "Use of an absolute file name: " << logical_file_name << endmsg;
}
#endif
return (find_file_from_list (logical_file_name, path_list, search_type));
}
Loading