summaryrefslogtreecommitdiffstats
path: root/lib/OpenSLX/Basics.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/OpenSLX/Basics.pm')
-rw-r--r--lib/OpenSLX/Basics.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/OpenSLX/Basics.pm b/lib/OpenSLX/Basics.pm
index 6c4fa87e..45a37986 100644
--- a/lib/OpenSLX/Basics.pm
+++ b/lib/OpenSLX/Basics.pm
@@ -168,12 +168,13 @@ sub openslxInit
if ($verboseLevel >= 2) {
vlog(0, "reading config-file $f...");
}
- my %config = ParseConfig(
+ my $configObject = Config::General->new(
-AutoTrue => 1,
-ConfigFile => $f,
-LowerCaseNames => 1,
-SplitPolicy => 'equalsign',
);
+ my %config = $configObject->getall();
foreach my $key (keys %config) {
# N.B.: these config files are used by shell-scripts, too, so in
# order to comply with shell-style, the config files use shell