2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

In the c910 build area, we are using the older buildxcat scripts

so the path for finding the compiler.jar was incorrect.  Updated
the makerpm script to be able to find compiler.jar to build xCAT-UI
This commit is contained in:
Victor Hu 2015-05-21 14:31:41 -04:00
parent 135a048a67
commit 4cc980f3c6

View File

@ -32,6 +32,12 @@ function makenoarch {
COMPILER_JAR=`echo "${DIRNAME%%linux_rpm/*}tools/compiler.jar"`
if [ -f $COMPILER_JAR ]; then
sed -i "s#/xcat2/build/tools/compiler.jar#${COMPILER_JAR}#g" xCAT-UI/xCAT-UI.spec
else
# In c910, if using the old buildxcat scripts...
COMPILER_JAR=`echo "${DIRNAME%%old/*}xcat2/tools/compiler.jar"`
if [ -f $COMPILER_JAR ]; then
sed -i "s#/xcat2/build/tools/compiler.jar#${COMPILER_JAR}#g" xCAT-UI/xCAT-UI.spec
fi
fi
fi
fi