From 1f080407cfd00ed1c2a71b2d513b0790f67126af Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 4 Mar 2011 21:11:27 +0000 Subject: [PATCH] Fix sort -u ordering so that mktoolscenter does not report the same MT for two different models git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/mktoolscenter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/tools/mktoolscenter b/xCAT-server/share/xcat/tools/mktoolscenter index 13a8cea9b..605866b26 100755 --- a/xCAT-server/share/xcat/tools/mktoolscenter +++ b/xCAT-server/share/xcat/tools/mktoolscenter @@ -177,7 +177,7 @@ my $machines; if ($surrogate eq 0) { $instroot = `gettab key=installdir site.value`; my $nodes = `$nodels|tr '\n' ','`; - $machines = `$nodels $nodes vpd.mtm |cut -f2 -d:|sort -u|cut -b2-5`; + $machines = `$nodels $nodes vpd.mtm |cut -f2 -d:|cut -b2-5|sort -u`; } else { $instroot = question("What is the installdir?","/install",''); $machines = question("What is the list of machine types?","7947",'');