put in wrong path for odbcinst.ini when databaseloc set in site table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-07-27 11:54:37 +00:00
parent 2f7cb32132
commit e12bf7bd77

View File

@ -1629,7 +1629,7 @@ sub setupODBC
$sharedlibaix = "$::databaseloc/sqllib/lib/libdb2.so";
} else {
$sharedlib32="$::databaseloc/sqllib/lib32/libdb2.so";
$sharedlib64="/var/lib/db2/sqllib/lib/libdb2o.so";
$sharedlib64="$::databaseloc/sqllib/lib/libdb2o.so";
}
$cmd = "fgrep -i DB2 $odbcinstfile ";
xCAT::Utils->runcmd($cmd, -1);