Changeset 218 for osc_snovis/trunk/obuild/sh/build_release
- Timestamp:
- Feb 14, 2007, 3:42:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osc_snovis/trunk/obuild/sh/build_release
r216 r218 683 683 exit 684 684 fi 685 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`686 if [ ${obuild_platform_result} = yes ] ; then687 if [ ! -d "${Geant4_home}/data/G4NDL" ] ; then688 echo "WARNNING : Directory ${Geant4_home}/data/G4NDL not found."689 else690 /bin/mkdir -p "${obuild_dir_project}/Resources/Geant4/data/."691 /bin/cp -R "${Geant4_home}/data/G4NDL" "${obuild_dir_project}/Resources/Geant4/data/."692 find "${obuild_dir_project}/Resources/Geant4/data/." -depth -name CVS -exec /bin/rm -R -f {} \;693 find "${obuild_dir_project}/Resources/Geant4/data/." -depth -name .svn -exec /bin/rm -R -f {} \;694 fi695 fi696 unset obuild_platform_result697 if [ "${obuild_platform_exe}" = "" ] ; then698 echo "Variable obuild_platform_exe not defined."699 exit700 fi701 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`702 if [ ${obuild_platform_result} = yes ] ; then703 if [ ! -d "${Geant4_home}/data/PhotonEvaporation" ] ; then704 echo "WARNNING : Directory ${Geant4_home}/data/PhotonEvaporation not found."705 else706 /bin/mkdir -p "${obuild_dir_project}/Resources/Geant4/data/."707 /bin/cp -R "${Geant4_home}/data/PhotonEvaporation" "${obuild_dir_project}/Resources/Geant4/data/."708 find "${obuild_dir_project}/Resources/Geant4/data/." -depth -name CVS -exec /bin/rm -R -f {} \;709 find "${obuild_dir_project}/Resources/Geant4/data/." -depth -name .svn -exec /bin/rm -R -f {} \;710 fi711 fi712 unset obuild_platform_result713 if [ "${obuild_platform_exe}" = "" ] ; then714 echo "Variable obuild_platform_exe not defined."715 exit716 fi717 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`718 if [ ${obuild_platform_result} = yes ] ; then719 if [ ! -d "${Geant4_home}/data/RadioactiveDecay" ] ; then720 echo "WARNNING : Directory ${Geant4_home}/data/RadioactiveDecay not found."721 else722 /bin/mkdir -p "${obuild_dir_project}/Resources/Geant4/data/."723 /bin/cp -R "${Geant4_home}/data/RadioactiveDecay" "${obuild_dir_project}/Resources/Geant4/data/."724 find "${obuild_dir_project}/Resources/Geant4/data/." -depth -name CVS -exec /bin/rm -R -f {} \;725 find "${obuild_dir_project}/Resources/Geant4/data/." -depth -name .svn -exec /bin/rm -R -f {} \;726 fi727 fi728 unset obuild_platform_result729 if [ "${obuild_platform_exe}" = "" ] ; then730 echo "Variable obuild_platform_exe not defined."731 exit732 fi733 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`734 if [ ${obuild_platform_result} = yes ] ; then735 if [ ! -d "${Geant4_home}/data/G4EMLOW" ] ; then736 echo "WARNNING : Directory ${Geant4_home}/data/G4EMLOW not found."737 else738 /bin/mkdir -p "${obuild_dir_project}/Resources/Geant4/data/."739 /bin/cp -R "${Geant4_home}/data/G4EMLOW" "${obuild_dir_project}/Resources/Geant4/data/."740 find "${obuild_dir_project}/Resources/Geant4/data/." -depth -name CVS -exec /bin/rm -R -f {} \;741 find "${obuild_dir_project}/Resources/Geant4/data/." -depth -name .svn -exec /bin/rm -R -f {} \;742 fi743 fi744 unset obuild_platform_result745 if [ "${obuild_platform_exe}" = "" ] ; then746 echo "Variable obuild_platform_exe not defined."747 exit748 fi749 685 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 750 686 if [ ${obuild_platform_result} = yes ] ; then … … 9361 9297 fi 9362 9298 9299 if [ "${obuild_platform_exe}" = "" ] ; then 9300 echo "Variable obuild_platform_exe not defined." 9301 exit 9302 fi 9303 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 9304 if [ ${obuild_platform_result} = yes ] ; then 9305 /bin/rm -f "${obuild_osc_snovis_path}/${obuild_dir_bin}/osc_snovis_v1r0_intel_osx_gcc401.zip" 9306 zip -q -r "${obuild_osc_snovis_path}/${obuild_dir_bin}/osc_snovis_v1r0_intel_osx_gcc401.zip" "${obuild_osc_snovis_path}/${obuild_dir_bin}/osc_snovis" 9307 /bin/rm -R -f "${obuild_dir_project}/Resources/Geant4/data" 9308 /bin/rm -R -f "${obuild_dir_project}/Resources/Geant4" 9309 /bin/rm -R -f "${obuild_dir_project}/Resources/CLHEP" 9310 fi 9311 unset obuild_platform_result 9312 if [ "${obuild_platform_exe}" = "" ] ; then 9313 echo "Variable obuild_platform_exe not defined." 9314 exit 9315 fi 9316 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Linux'` 9317 if [ ${obuild_platform_result} = yes ] ; then 9318 /bin/rm -f "${obuild_osc_snovis_path}/${obuild_dir_bin}/osc_snovis_v1r0_m32_sl3_gcc323.zip" 9319 zip -q -r "${obuild_osc_snovis_path}/${obuild_dir_bin}/osc_snovis_v1r0_m32_sl3_gcc323.zip" "${obuild_osc_snovis_path}/${obuild_dir_bin}/osc_snovis" 9320 /bin/rm -R -f "${obuild_dir_project}/Resources/Geant4/data" 9321 /bin/rm -R -f "${obuild_dir_project}/Resources/Geant4" 9322 /bin/rm -R -f "${obuild_dir_project}/Resources/CLHEP" 9323 fi 9324 unset obuild_platform_result 9363 9325 cd "${obuild_osc_snovis_path}/${obuild_dir_bin}" 9364 9326 /bin/rm -f obuild_platform
Note: See TracChangeset
for help on using the changeset viewer.