diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2006-01-19 19:36:37 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2006-01-19 19:36:37 +0000 |
commit | cd9923f4d781a89d66c7836d9e14172ac348ce2f (patch) | |
tree | 94df787fd8df8e83ec574447b349d66e8cff44e5 | |
parent | 0c7484507851cbf204a5e2b8fb666f1506e494cb (diff) | |
download | MPC-cd9923f4d781a89d66c7836d9e14172ac348ce2f.tar.gz |
ChangeLogTag: Thu Jan 19 12:59:55 2006 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | modules/Driver.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/Driver.pm b/modules/Driver.pm index e66ec62d..dba90516 100644 --- a/modules/Driver.pm +++ b/modules/Driver.pm @@ -192,9 +192,10 @@ sub run { } ## Set the global feature file - my($global_feature_file) = (defined $options->{'gfeature_file'} ? - $options->{'gfeature_file'} : - $self->{'path'} . '/config/global.features'); + my($global_feature_file) = (defined $options->{'gfeature_file'} && + -r $options->{'gfeature_file'} ? + $options->{'gfeature_file'} : + $self->{'path'} . '/config/global.features'); ## Set up default values if (!defined $options->{'input'}->[0]) { |