From ba51617afdd608393160c288dde7aa19366b8275 Mon Sep 17 00:00:00 2001 From: baiyuan Date: Wed, 19 Nov 2014 06:01:54 -0500 Subject: [PATCH] fix /n after uname -p --- xCAT-buildkit/bin/buildkit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index 094c5e4b2..2caafaa2d 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -1163,7 +1163,7 @@ sub edit_bldkitconf my ($osbasename,$osmore) = split(/\,/, $osinfo); my ($osmajorversion,$osminorversion) = split(/\./, $osmore); my $osarch=`uname -p`; - + chomp($osarch); my $kitcomponent_basename = $kitname."_compute"; if ($debianflag==1) {