handle case when #ENV is not first of line

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ellen56 2011-10-10 08:36:09 +00:00
parent e504131e8c
commit d9bb8ec644

View File

@ -117,7 +117,7 @@ sub get_package_names {
} elsif (/^#NEW_INSTALL_LIST#/) {
$pass++;
next;
} elsif (/#ENV:([^#^\n]+)#/) {
} elsif (/^#ENV:([^#^\n]+)#/) {
my $pa=$pkgnames{$pass}{ENVLIST};
my $env = $1;
if (exists($pkgnames{$pass}{ENVLIST})){