Ignore:
Timestamp:
Feb 9, 2007, 4:41:48 PM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • build/snova/trunk/obuild/sh/check_foreigns

    r130 r132  
    8888obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
    8989if [ ${obuild_platform_result} = yes ] ; then
     90Geant4_home="/usr/local/geant4/8.2"
     91fi
     92unset obuild_platform_result
     93if [ "${obuild_platform_exe}" = "" ] ; then
     94  echo "Variable obuild_platform_exe not defined."
     95  exit
     96fi
     97obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     98if [ ${obuild_platform_result} = yes ] ; then
    9099if [ "${obuild_check_what}" = "CLHEP" ] ; then
    91100  if [ ! -d "${CLHEP_home}" ] ; then
     
    96105fi
    97106unset obuild_platform_result
     107if [ "${obuild_platform_exe}" = "" ] ; then
     108  echo "Variable obuild_platform_exe not defined."
     109  exit
     110fi
     111obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     112if [ ${obuild_platform_result} = yes ] ; then
     113if [ "${obuild_check_what}" = "Geant4" ] ; then
     114  if [ ! -d "${Geant4_home}" ] ; then
     115    echo "WARNING : Geant4 not found under ${Geant4_home}"
     116    exit 1
     117  fi
     118fi
     119fi
     120unset obuild_platform_result
    98121
Note: See TracChangeset for help on using the changeset viewer.