-Change order of template directive processing to match 1.x for those who rely upon that ordering

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-09-02 15:16:05 +00:00
parent e41cb303c2
commit c8da4f67f2

View File

@ -68,12 +68,12 @@ sub subvars {
}
}
#ok, now do everything else..
$inc =~ s/#COMMAND:([^#]+)#/command($1)/eg;
$inc =~ s/#XCATVAR:([^#]+)#/envvar($1)/eg;
$inc =~ s/#ENV:([^#]+)#/envvar($1)/eg;
$inc =~ s/#TABLE:([^:]+):([^:]+):([^#]+)#/tabdb($1,$2,$3)/eg;
$inc =~ s/#TABLEBLANKOKAY:([^:]+):([^:]+):([^#]+)#/tabdb($1,$2,$3,'1')/eg;
$inc =~ s/#CRYPT:([^:]+):([^:]+):([^#]+)#/crydb($1,$2,$3)/eg;
$inc =~ s/#XCATVAR:([^#]+)#/envvar($1)/eg;
$inc =~ s/#ENV:([^#]+)#/envvar($1)/eg;
$inc =~ s/#COMMAND:([^#]+)#/command($1)/eg;
$inc =~ s/#INCLUDE_NOP:([^#]+)#/includefile($1,1)/eg;
if ($tmplerr) {