Fixed an error in last checkin.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2013-04-07 06:30:53 +00:00
parent 2d555c821a
commit 64af7cbc19

View File

@ -804,7 +804,7 @@ sub update_tables_with_mgt_image
#get the profile name out of the file, TODO: this does not work if the profile name contains the '.'
$tmpf =~ /^([^\.]*)\..*$/;
$tmpf = $1;
if ( $tmpf = "compute" ) {
if ( $tmpf eq "compute" ) {
$profiles{$tmpf}=1;
}
}