From b47ce8817971482e6a66d3f183a394f97153ce50 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 15 Apr 2008 14:24:16 +0000 Subject: [PATCH] Fix nodesetstate declaration. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/Postage.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-xCAT-2.0/xCAT/Postage.pm b/perl-xCAT-2.0/xCAT/Postage.pm index c275816e0..7b2eb7b71 100644 --- a/perl-xCAT-2.0/xCAT/Postage.pm +++ b/perl-xCAT-2.0/xCAT/Postage.pm @@ -39,7 +39,7 @@ sub writescript { if (scalar(@_) eq 4) { shift; } #Discard self my $node = shift; my $scriptfile = shift; - my $nodesetstate = shift; # install or netboot + $::nodesetstate = shift; # install or netboot my $script; open($script,">",$scriptfile); @@ -119,8 +119,8 @@ sub makescript { push @scriptd, "export OSVER ARCH PROFILE\n"; push @scriptd, 'PATH=`dirname $0`:$PATH'."\n"; push @scriptd, "export PATH\n"; - if ($nodesetstate) { - push @scriptd, "NODESETSTATE=".$nodesetstate."\n"; + if ($::nodesetstate) { + push @scriptd, "NODESETSTATE=".$::nodesetstate."\n"; push @scriptd, "export NODESETSTATE\n"; }