Ignore:
Timestamp:
Feb 13, 2007, 5:46:35 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

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

    r144 r184  
    7171./sh/install
    7272
     73if [ ! -e "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" ] ; then
     74  if [ ! -e "${obuild_snova_path}/obuild/cpp/obuild_find.cpp" ] ; then
     75    echo "Program source obuild_find.cpp not found."
     76    exit
     77  fi
     78  if [ "${obuild_cxx_command}" = "" ] ; then
     79    if [  "${OBUILD_CXX}" != "" ] ; then
     80      obuild_find_compiler=${OBUILD_CXX}
     81    else
     82      obuild_find_compiler=c++
     83    fi
     84  else
     85    obuild_find_compiler=${obuild_cxx_command}
     86  fi
     87  ${obuild_find_compiler} -o "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" "${obuild_snova_path}/obuild/cpp/obuild_find.cpp"
     88  unset obuild_find_compiler
     89  if [ ! -e "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" ] ; then
     90    echo "Program obuild_find not found."
     91    exit
     92  fi
     93fi
     94obuild_find_exe="${obuild_snova_path}/${obuild_dir_bin}/obuild_find"
     95if [ "${obuild_find_exe}" = "" ] ; then
     96  echo "Variable obuild_find_exe not defined."
     97  exit
     98fi
     99obuild_bhep_path=`"${obuild_find_exe}" bhep 'v1r4p2'`
     100if [ "${obuild_bhep_path}" = "" ] ; then
     101  echo "Can't find bhep package."
     102  exit
     103fi
     104
     105# install setup scripts of used packages :
     106if [ ! -e "${obuild_bhep_path}/obuild/sh/broadcast_install" ] ; then
     107  echo "broadcast_install script not found for package bhep."
     108  exit
     109fi
     110cd "${obuild_bhep_path}/obuild"
     111./sh/broadcast_install ${obuild_args}
     112
Note: See TracChangeset for help on using the changeset viewer.