Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22769
Modified Files: ds_newinst.pl.in Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server - admin server setup Fix Description: Allow the use of '-' and '_' in section and parameter names when passing in inf parameters via the command line. Platforms tested: RHEL4 Flag Day: no Doc impact: no
Index: ds_newinst.pl.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_newinst.pl.in,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ds_newinst.pl.in 15 Jun 2007 22:11:15 -0000 1.8 +++ ds_newinst.pl.in 19 Jun 2007 23:24:58 -0000 1.9 @@ -189,7 +189,7 @@
# process command line arguments for (@ARGV) { - if (/^(\w+).(\w+)=(.*)$/) { # e.g. section.param=value + if (/^([\w_-]+).([\w_-]+)=(.*)$/) { # e.g. section.param=value $table{$1}->{$2} = $3; } else { # file? readInfFile($_);
389-commits@lists.fedoraproject.org