Ignore:
Timestamp:
Feb 13, 2007, 6:01:05 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • build/snova/trunk/obuild/setup.sh

    r184 r185  
    159159  return
    160160fi
     161if [ "${obuild_find_exe}" = "" ] ; then
     162  echo "Variable obuild_find_exe not defined."
     163  return
     164fi
     165obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r*'`
     166if [ "${obuild_HDF5_path}" = "" ] ; then
     167  echo "Can't find HDF5 package."
     168  return
     169fi
    161170
    162171# Execute setup of used packages :
     
    166175fi
    167176. "${obuild_bhep_path}/obuild/setup.sh"
     177
     178if [ ! -e "${obuild_HDF5_path}/obuild/setup.sh" ] ; then
     179  echo "setup.sh not found for package HDF5."
     180  return
     181fi
     182. "${obuild_HDF5_path}/obuild/setup.sh"
    168183
    169184# Set environment variables of this package :
Note: See TracChangeset for help on using the changeset viewer.