diff --git a/xCAT-server/lib/perl/xCAT/Template.pm b/xCAT-server/lib/perl/xCAT/Template.pm index bb61dc9d7..57e221766 100644 --- a/xCAT-server/lib/perl/xCAT/Template.pm +++ b/xCAT-server/lib/perl/xCAT/Template.pm @@ -421,7 +421,7 @@ sub windows_postscripts { my $order = 1; my $xml; my $pscript; - foreach $pscripts (@cmds) { + foreach $pscript (@cmds) { unless ($pscript =~ /\\/) { $pscript = "C:\\xcatpost\\".$pscript; }