fixed bug 3309, export the empty varialbe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5745d823ae
commit
c8c64a5afe
@ -1095,8 +1095,9 @@ sub subvars_for_mypostscript {
|
||||
foreach $line ( @lines ) {
|
||||
if( $line =~ /^([^#]+)=[\s]*$/ ) {
|
||||
my $key=$1;
|
||||
$inc =~ s/$key=([\s\n]+)//g;
|
||||
$inc =~ s/export $key//g;
|
||||
$inc =~ s/$key=([\s\n]+)/$key=''\n/g;
|
||||
#$inc =~ s/$key=([\s\n]+)//g;
|
||||
#$inc =~ s/export $key//g;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user