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:
parent
e504131e8c
commit
d9bb8ec644
@ -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})){
|
||||
|
Loading…
Reference in New Issue
Block a user