diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-08-18 16:10:58 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-08-18 16:10:58 +0000 |
commit | d10236ce62feabc2a9fd8eec58d8f0a90a43447e (patch) | |
tree | 7bd400c12b9df5950677832f9143136b561a229a /lib/sbin/ConfigurationParser.pl | |
parent | bff86ab2d4e471fa7b4db9df5da10a07d27fc6ca (diff) |
Trying to bring the condiguration stuff up to standard.
Now should be consistent with docs (once I update those), plus
prints out messages output by scripts.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3845 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/ConfigurationParser.pl')
-rw-r--r-- | lib/sbin/ConfigurationParser.pl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/sbin/ConfigurationParser.pl b/lib/sbin/ConfigurationParser.pl index 24be9eec..dd6b48a9 100644 --- a/lib/sbin/ConfigurationParser.pl +++ b/lib/sbin/ConfigurationParser.pl @@ -162,9 +162,14 @@ sub ParseConfigurationCCL $cfg->{"\U$thorn\E PROVIDES \U$provides\E SCRIPT"} = $script; $cfg->{"\U$thorn\E PROVIDES \U$provides\E LANG"} = $lang; - $cfg = &ParseConfigScript($config_dir, $provides, $lang, $script, - $thorn, $cfg, $thorns, $filename) - if ($script ne ''); + if ($script) + { + print "Running configuration script '$script'\n"; + + $cfg = &ParseConfigScript($config_dir, $provides, $lang, $script, + $thorn, $cfg, $thorns, $filename); + print "\n"; + } next; } |