From 4cc980f3c6feeb9f1cdbe7267928b92b8eea487c Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Thu, 21 May 2015 14:31:41 -0400 Subject: [PATCH] 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 --- makerpm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makerpm b/makerpm index d6fbc9f75..fba98fc4c 100755 --- a/makerpm +++ b/makerpm @@ -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