Skip to content

Commit 3c644f2

Browse files
committed
Up
1 parent 5663931 commit 3c644f2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ALICE3/Core/FastTracker.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ class GeometryContainer
4949
static std::map<std::string, std::map<std::string, std::string>> parseTEnvConfiguration(std::string filename)
5050
{
5151
std::map<std::string, std::map<std::string, std::string>> configMap;
52-
if (filename.find('$') != std::string::npos) {
53-
// Expand environment variables in filename
54-
const char* expanded = gSystem->ExpandPathName(filename.c_str());
55-
filename = expanded;
56-
}
52+
filename = gSystem->ExpandPathName(filename.c_str());
5753
TEnv env(filename.c_str());
5854
THashList* table = env.GetTable();
5955
std::vector<std::string> layers;

0 commit comments

Comments
 (0)