-Change nodech ,= to prepend rather than append the value, making group splice assignment tend to designate the new entry as more important/specific
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
712cb4fb4d
commit
ee88b149f3
@ -934,7 +934,7 @@ sub nodech
|
||||
if ($curval) {
|
||||
my @vals = split(/,/, $curval);
|
||||
unless (grep /^$val$/, @vals) {
|
||||
@vals = (@vals, $val);
|
||||
unshift @vals,$val;
|
||||
my $newval = join(',', @vals);
|
||||
$uhsh{$key} = $newval;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user