From 8f2877647f16b8bc8e9627d5a0e28b6c950dfd4b Mon Sep 17 00:00:00 2001
From: mellor <mellor@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Mon, 5 Apr 2010 20:37:28 +0000
Subject: [PATCH] HPC integration - change compilers license accept script to
 not hardcode version number and find correct script

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
 xCAT-IBMhpc/share/xcat/IBMhpc/compilers/compilers_license | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/compilers/compilers_license b/xCAT-IBMhpc/share/xcat/IBMhpc/compilers/compilers_license
index 94a262b8c..7c1b8cc8e 100755
--- a/xCAT-IBMhpc/share/xcat/IBMhpc/compilers/compilers_license
+++ b/xCAT-IBMhpc/share/xcat/IBMhpc/compilers/compilers_license
@@ -9,8 +9,9 @@
 
 
 OS=`uname`
-vacpp_script=/opt/ibmcmp/vacpp/10.1/bin/new_install
-xlf_script=/opt/ibmcmp/xlf/12.1/bin/new_install
+cd $installroot/
+vacpp_script=`find opt/ibmcmp/vacpp -name new_install -print`
+xlf_script=`find opt/ibmcmp/xlf -name new_install -print`
 
 
 if [ $OS != "AIX" ]; then