From ee88b149f3bc3c6f99cb497a59fa0ecc9a0eaaf2 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 30 Sep 2009 18:32:54 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/tabutils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index c225441c3..02605893e 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -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; }