|
From: <jgr...@us...> - 2003-11-12 03:47:34
|
Update of /cvsroot/popfile/engine/POPFile
In directory sc8-pr-cvs1:/tmp/cvs-serv12511/POPFile
Modified Files:
Configuration.pm
Log Message:
When setting a parameter via the command line call the parameter method to ensure that the dirty bit is set on the config and that command-line changes get saved to disk
Index: Configuration.pm
===================================================================
RCS file: /cvsroot/popfile/engine/POPFile/Configuration.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** Configuration.pm 10 Nov 2003 21:09:28 -0000 1.33
--- Configuration.pm 12 Nov 2003 03:47:09 -0000 1.34
***************
*** 382,386 ****
if ( defined($self->{configuration_parameters__}{$parameter}) ) {
if ( $i < $#options ) {
! $self->{configuration_parameters__}{$parameter} = $options[$i+1];
$i += 2;
} else {
--- 382,386 ----
if ( defined($self->{configuration_parameters__}{$parameter}) ) {
if ( $i < $#options ) {
! $self->parameter( $parameter, $options[$i+1] );
$i += 2;
} else {
|