diff options
author | cos <cos> | 2014-12-17 15:05:12 +0100 |
---|---|---|
committer | cos <cos> | 2014-12-17 15:05:12 +0100 |
commit | 7d2c6e2a32f94375be91f38481c38d68dd997610 (patch) | |
tree | 49ba2d68b4b14a4142966a4943a88da6fd94778d | |
parent | 4611ecfa9f1419b23beac04bcef0e102ec76d489 (diff) | |
download | mat-7d2c6e2a32f94375be91f38481c38d68dd997610.zip |
Use system wide config file for label_name & label_id_prefix.
-rwxr-xr-x | mat | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,8 +14,8 @@ use Text::Iconv; tie my %Config, "Config::Simple", '/etc/mat.conf'; -use constant LABEL_NAME => `sed --silent 's/^label_name //p' < config|tr -d '\\n'`; -use constant LABEL_ID_PREFIX => `sed --silent 's/^label_id_prefix //p' < config|tr -d '\\n'`; +use constant LABEL_NAME => $Config{'label_name'}; +use constant LABEL_ID_PREFIX => $Config{'label_id_prefix'}; #use Data::Dumper; |