From 49e2c93d06aad7c63521d9a3394f9c6e24077f85 Mon Sep 17 00:00:00 2001
From: xq2005 <xq2005@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Mon, 14 Mar 2011 03:20:18 +0000
Subject: [PATCH] for build on aix

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
 xCAT-UI/xCAT-UI.spec | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xCAT-UI/xCAT-UI.spec b/xCAT-UI/xCAT-UI.spec
index fe9bd94c8..973324109 100644
--- a/xCAT-UI/xCAT-UI.spec
+++ b/xCAT-UI/xCAT-UI.spec
@@ -32,7 +32,11 @@ Provides a browser-based interface for xCAT (Extreme Cloud Administration Toolki
 # Minify Javascript files using Google Compiler
 echo "Minifying Javascripts... This will take a couple of minutes."
 
+%ifos linux
 JAVA='/opt/ibm/java-ppc64-60/jre/bin/java'
+%else
+JAVA='/usr/java6_64/bin/java'
+%endif
 COMPILER_JAR='/xcat2/build/tools/compiler.jar'
 UI_JS="js/"