| 1 | #!/bin/sh -f
 | 
|---|
| 2 | 
 | 
|---|
| 3 | #
 | 
|---|
| 4 | # File produced by the obuild tool version 1.0
 | 
|---|
| 5 | # for the package snovis with version v1r1.
 | 
|---|
| 6 | #
 | 
|---|
| 7 | 
 | 
|---|
| 8 | #////////////////////////////////////////////////
 | 
|---|
| 9 | # Usage :
 | 
|---|
| 10 | #   UNIX> cd some_path/pack/version/obuild
 | 
|---|
| 11 | # ( UNIX> chmod a+x sh/build_snovis_session )
 | 
|---|
| 12 | #   UNIX> sh/build_snovis_session
 | 
|---|
| 13 | #
 | 
|---|
| 14 | #////////////////////////////////////////////////
 | 
|---|
| 15 | 
 | 
|---|
| 16 | obuild_verbose=no
 | 
|---|
| 17 | obuild_debug=no
 | 
|---|
| 18 | obuild_optimize=yes
 | 
|---|
| 19 | obuild_do_not_compile=no
 | 
|---|
| 20 | obuild_dir_bin_o_cleanup=yes
 | 
|---|
| 21 | 
 | 
|---|
| 22 | obuild_set_x=no
 | 
|---|
| 23 | while test $# -ge 1 ; do
 | 
|---|
| 24 |   case $1 in
 | 
|---|
| 25 |     -h) 
 | 
|---|
| 26 |         echo "Options :"
 | 
|---|
| 27 |         echo "  -v : verbose."
 | 
|---|
| 28 |         echo "  -d : build in debug mode."
 | 
|---|
| 29 |         echo "  -g : build in debug mode."
 | 
|---|
| 30 |         echo "  -x : execute script with set -x."
 | 
|---|
| 31 |         echo "  -l : link only, do not (re)compile."
 | 
|---|
| 32 |         echo "  -k : do not remove result of compilations (.o, .obj)."
 | 
|---|
| 33 |         echo ""
 | 
|---|
| 34 |         exit ;;
 | 
|---|
| 35 |     -v) obuild_verbose=yes ;;
 | 
|---|
| 36 |     -x) obuild_set_x=yes ;;
 | 
|---|
| 37 |     -d) obuild_debug=yes ;;
 | 
|---|
| 38 |     -g) obuild_debug=yes ;;
 | 
|---|
| 39 |     -l) obuild_do_not_compile=yes ;;
 | 
|---|
| 40 |     -k) obuild_dir_bin_o_cleanup=no ;;
 | 
|---|
| 41 |     *) echo "unknown option : $1";exit ;;
 | 
|---|
| 42 |   esac
 | 
|---|
| 43 |   shift
 | 
|---|
| 44 | done
 | 
|---|
| 45 | 
 | 
|---|
| 46 | if [ ${obuild_set_x} = yes ] ; then
 | 
|---|
| 47 |   set -x
 | 
|---|
| 48 | fi
 | 
|---|
| 49 | 
 | 
|---|
| 50 | if [ ${obuild_debug} = yes ] ; then
 | 
|---|
| 51 |   obuild_optimize=no
 | 
|---|
| 52 | fi
 | 
|---|
| 53 | 
 | 
|---|
| 54 | if [  "${OBUILD_PLATFORM}" = "" ] ; then
 | 
|---|
| 55 |   obuild_platform=`uname`
 | 
|---|
| 56 | else
 | 
|---|
| 57 |   obuild_platform=${OBUILD_PLATFORM}
 | 
|---|
| 58 | fi
 | 
|---|
| 59 | 
 | 
|---|
| 60 | if [ "${obuild_platform}" = "" ] ; then
 | 
|---|
| 61 |   echo "obuild_platform variable not defined."
 | 
|---|
| 62 |   exit
 | 
|---|
| 63 | fi
 | 
|---|
| 64 | 
 | 
|---|
| 65 | if [  "${OBUILD_DIR_BIN}" = "" ] ; then
 | 
|---|
| 66 |   obuild_dir_bin=${obuild_platform}_obuild
 | 
|---|
| 67 | else
 | 
|---|
| 68 |   obuild_dir_bin=${OBUILD_DIR_BIN}
 | 
|---|
| 69 | fi
 | 
|---|
| 70 | 
 | 
|---|
| 71 | if [ "${obuild_dir_bin}" = "" ] ; then
 | 
|---|
| 72 |   echo "obuild_dir_bin variable not defined."
 | 
|---|
| 73 |   exit
 | 
|---|
| 74 | fi
 | 
|---|
| 75 | 
 | 
|---|
| 76 | obuild_pwd=`pwd`
 | 
|---|
| 77 | obuild_snovis_path=`dirname "${obuild_pwd}"`
 | 
|---|
| 78 | unset obuild_pwd
 | 
|---|
| 79 | 
 | 
|---|
| 80 | # Create the bin directory :
 | 
|---|
| 81 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}"
 | 
|---|
| 82 | 
 | 
|---|
| 83 | if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_platform" ] ; then
 | 
|---|
| 84 |   if [ ! -e "${obuild_snovis_path}/obuild/cpp/obuild_platform.cpp" ] ; then
 | 
|---|
| 85 |     echo "Program source obuild_platform.cpp not found."
 | 
|---|
| 86 |     exit
 | 
|---|
| 87 |   fi
 | 
|---|
| 88 |   if [ "${obuild_cxx_command}" = "" ] ; then 
 | 
|---|
| 89 |     if [  "${OBUILD_CXX}" != "" ] ; then
 | 
|---|
| 90 |       obuild_platform_compiler=${OBUILD_CXX}
 | 
|---|
| 91 |     else
 | 
|---|
| 92 |       obuild_platform_compiler=c++ 
 | 
|---|
| 93 |     fi
 | 
|---|
| 94 |   else
 | 
|---|
| 95 |     obuild_platform_compiler=${obuild_cxx_command} 
 | 
|---|
| 96 |   fi
 | 
|---|
| 97 |   ${obuild_platform_compiler} -o "${obuild_snovis_path}/${obuild_dir_bin}/obuild_platform" "${obuild_snovis_path}/obuild/cpp/obuild_platform.cpp"
 | 
|---|
| 98 |   unset obuild_platform_compiler
 | 
|---|
| 99 |   if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_platform" ] ; then
 | 
|---|
| 100 |     echo "Program obuild_platform not found."
 | 
|---|
| 101 |     exit
 | 
|---|
| 102 |   fi
 | 
|---|
| 103 | fi
 | 
|---|
| 104 | obuild_platform_exe="${obuild_snovis_path}/${obuild_dir_bin}/obuild_platform"
 | 
|---|
| 105 | if [ "${obuild_platform_exe}" = "" ] ; then
 | 
|---|
| 106 |   echo "Variable obuild_platform_exe not defined."
 | 
|---|
| 107 |   exit
 | 
|---|
| 108 | fi
 | 
|---|
| 109 | obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
 | 
|---|
| 110 | if [ ${obuild_platform_result} = yes ] ; then
 | 
|---|
| 111 | CLHEP_home="/usr/local/CLHEP/2.0.3.1"
 | 
|---|
| 112 | fi
 | 
|---|
| 113 | unset obuild_platform_result
 | 
|---|
| 114 | if [ "${obuild_platform_exe}" = "" ] ; then
 | 
|---|
| 115 |   echo "Variable obuild_platform_exe not defined."
 | 
|---|
| 116 |   exit
 | 
|---|
| 117 | fi
 | 
|---|
| 118 | obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
 | 
|---|
| 119 | if [ ${obuild_platform_result} = yes ] ; then
 | 
|---|
| 120 | Geant4_home="/usr/local/geant4/8.2"
 | 
|---|
| 121 | fi
 | 
|---|
| 122 | unset obuild_platform_result
 | 
|---|
| 123 | if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then
 | 
|---|
| 124 |   if [ ! -e "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp" ] ; then
 | 
|---|
| 125 |     echo "Program source obuild_find.cpp not found."
 | 
|---|
| 126 |     exit
 | 
|---|
| 127 |   fi
 | 
|---|
| 128 |   if [ "${obuild_cxx_command}" = "" ] ; then
 | 
|---|
| 129 |     if [  "${OBUILD_CXX}" != "" ] ; then
 | 
|---|
| 130 |       obuild_find_compiler=${OBUILD_CXX}
 | 
|---|
| 131 |     else
 | 
|---|
| 132 |       obuild_find_compiler=c++
 | 
|---|
| 133 |     fi
 | 
|---|
| 134 |   else
 | 
|---|
| 135 |     obuild_find_compiler=${obuild_cxx_command}
 | 
|---|
| 136 |   fi
 | 
|---|
| 137 |   ${obuild_find_compiler} -o "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp"
 | 
|---|
| 138 |   unset obuild_find_compiler
 | 
|---|
| 139 |   if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then
 | 
|---|
| 140 |     echo "Program obuild_find not found."
 | 
|---|
| 141 |     exit
 | 
|---|
| 142 |   fi
 | 
|---|
| 143 | fi
 | 
|---|
| 144 | obuild_find_exe="${obuild_snovis_path}/${obuild_dir_bin}/obuild_find"
 | 
|---|
| 145 | if [ "${obuild_find_exe}" = "" ] ; then
 | 
|---|
| 146 |   echo "Variable obuild_find_exe not defined."
 | 
|---|
| 147 |   exit
 | 
|---|
| 148 | fi
 | 
|---|
| 149 | obuild_G4Lab_path=`"${obuild_find_exe}" G4Lab 'v8r*'`
 | 
|---|
| 150 | if [ "${obuild_G4Lab_path}" = "" ] ; then
 | 
|---|
| 151 |   echo "Can't find G4Lab package."
 | 
|---|
| 152 |   exit
 | 
|---|
| 153 | fi
 | 
|---|
| 154 | if [ "${obuild_find_exe}" = "" ] ; then
 | 
|---|
| 155 |   echo "Variable obuild_find_exe not defined."
 | 
|---|
| 156 |   exit
 | 
|---|
| 157 | fi
 | 
|---|
| 158 | obuild_OnXLab_path=`"${obuild_find_exe}" OnXLab 'v1r0'`
 | 
|---|
| 159 | if [ "${obuild_OnXLab_path}" = "" ] ; then
 | 
|---|
| 160 |   echo "Can't find OnXLab package."
 | 
|---|
| 161 |   exit
 | 
|---|
| 162 | fi
 | 
|---|
| 163 | if [ "${obuild_find_exe}" = "" ] ; then
 | 
|---|
| 164 |   echo "Variable obuild_find_exe not defined."
 | 
|---|
| 165 |   exit
 | 
|---|
| 166 | fi
 | 
|---|
| 167 | obuild_BatchLab_path=`"${obuild_find_exe}" BatchLab 'v1r*'`
 | 
|---|
| 168 | if [ "${obuild_BatchLab_path}" = "" ] ; then
 | 
|---|
| 169 |   echo "Can't find BatchLab package."
 | 
|---|
| 170 |   exit
 | 
|---|
| 171 | fi
 | 
|---|
| 172 | if [ "${obuild_find_exe}" = "" ] ; then
 | 
|---|
| 173 |   echo "Variable obuild_find_exe not defined."
 | 
|---|
| 174 |   exit
 | 
|---|
| 175 | fi
 | 
|---|
| 176 | obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r*'`
 | 
|---|
| 177 | if [ "${obuild_OnX_path}" = "" ] ; then
 | 
|---|
| 178 |   echo "Can't find OnX package."
 | 
|---|
| 179 |   exit
 | 
|---|
| 180 | fi
 | 
|---|
| 181 | if [ "${obuild_find_exe}" = "" ] ; then
 | 
|---|
| 182 |   echo "Variable obuild_find_exe not defined."
 | 
|---|
| 183 |   exit
 | 
|---|
| 184 | fi
 | 
|---|
| 185 | obuild_HEPVis_path=`"${obuild_find_exe}" HEPVis 'v6r*'`
 | 
|---|
| 186 | if [ "${obuild_HEPVis_path}" = "" ] ; then
 | 
|---|
| 187 |   echo "Can't find HEPVis package."
 | 
|---|
| 188 |   exit
 | 
|---|
| 189 | fi
 | 
|---|
| 190 | if [ "${obuild_find_exe}" = "" ] ; then
 | 
|---|
| 191 |   echo "Variable obuild_find_exe not defined."
 | 
|---|
| 192 |   exit
 | 
|---|
| 193 | fi
 | 
|---|
| 194 | obuild_CoinPython_path=`"${obuild_find_exe}" CoinPython 'v1r*'`
 | 
|---|
| 195 | if [ "${obuild_CoinPython_path}" = "" ] ; then
 | 
|---|
| 196 |   echo "Can't find CoinPython package."
 | 
|---|
| 197 |   exit
 | 
|---|
| 198 | fi
 | 
|---|
| 199 | 
 | 
|---|
| 200 | if [ "${obuild_platform_exe}" = "" ] ; then
 | 
|---|
| 201 |   echo "Variable obuild_platform_exe not defined."
 | 
|---|
| 202 |   exit
 | 
|---|
| 203 | fi
 | 
|---|
| 204 | obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
 | 
|---|
| 205 | if [ ${obuild_platform_result} = yes ] ; then
 | 
|---|
| 206 | ./sh/build_Darwin_app snovis_session "${obuild_snovis_path}/${obuild_dir_bin}/snovis.bundle" "${obuild_G4Lab_path}/${obuild_dir_bin}/G4Lab.bundle" "${obuild_OnXLab_path}/${obuild_dir_bin}/OnXLabInventor.bundle" "${obuild_OnXLab_path}/${obuild_dir_bin}/OnXLabKUIP.bundle" "${obuild_OnXLab_path}/${obuild_dir_bin}/OnXLab.bundle" "${obuild_OnXLab_path}/${obuild_dir_bin}/OnXLab_SWIG_Python.so" "${obuild_BatchLab_path}/${obuild_dir_bin}/BatchLabXML.bundle" "${obuild_BatchLab_path}/${obuild_dir_bin}/BatchLabRio.bundle" "${obuild_BatchLab_path}/${obuild_dir_bin}/BatchLabHDF5.bundle" "${obuild_OnX_path}/${obuild_dir_bin}/OnXTestDLD.bundle" "${obuild_OnX_path}/${obuild_dir_bin}/OnXKUIP.bundle" "${obuild_OnX_path}/${obuild_dir_bin}/OnX.bundle" "${obuild_OnX_path}/${obuild_dir_bin}/OnXQt.bundle" "${obuild_OnX_path}/${obuild_dir_bin}/OnXPython.bundle" "${obuild_OnX_path}/${obuild_dir_bin}/OnX_SWIG_Python.so" "${obuild_HEPVis_path}/${obuild_dir_bin}/HEPVis_SWIG_Python.so" "${obuild_CoinPython_path}/${obuild_dir_bin}/_CoinPython.so"
 | 
|---|
| 207 | 
 | 
|---|
| 208 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/snovis/."
 | 
|---|
| 209 | if [ -d "${obuild_snovis_path}/scripts" ] ; then
 | 
|---|
| 210 |   /bin/cp -R "${obuild_snovis_path}/scripts" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/snovis/."
 | 
|---|
| 211 | else
 | 
|---|
| 212 |   echo "Directory ${obuild_snovis_path}/scripts not found."
 | 
|---|
| 213 | fi
 | 
|---|
| 214 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/snovis/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 215 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/snovis/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 216 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/G4Lab/."
 | 
|---|
| 217 | if [ -d "${obuild_G4Lab_path}/scripts" ] ; then
 | 
|---|
| 218 |   /bin/cp -R "${obuild_G4Lab_path}/scripts" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/G4Lab/."
 | 
|---|
| 219 | else
 | 
|---|
| 220 |   echo "Directory ${obuild_G4Lab_path}/scripts not found."
 | 
|---|
| 221 | fi
 | 
|---|
| 222 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/G4Lab/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 223 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/G4Lab/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 224 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/Geant4/."
 | 
|---|
| 225 | if [ -d "${Geant4_home}/data" ] ; then
 | 
|---|
| 226 |   /bin/cp -R "${Geant4_home}/data" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/Geant4/."
 | 
|---|
| 227 | else
 | 
|---|
| 228 |   echo "Directory ${Geant4_home}/data not found."
 | 
|---|
| 229 | fi
 | 
|---|
| 230 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/Geant4/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 231 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/Geant4/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 232 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnXLab/."
 | 
|---|
| 233 | if [ -d "${obuild_OnXLab_path}/scripts" ] ; then
 | 
|---|
| 234 |   /bin/cp -R "${obuild_OnXLab_path}/scripts" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnXLab/."
 | 
|---|
| 235 | else
 | 
|---|
| 236 |   echo "Directory ${obuild_OnXLab_path}/scripts not found."
 | 
|---|
| 237 | fi
 | 
|---|
| 238 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnXLab/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 239 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnXLab/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 240 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnXLab/."
 | 
|---|
| 241 | if [ -d "${obuild_OnXLab_path}/examples" ] ; then
 | 
|---|
| 242 |   /bin/cp -R "${obuild_OnXLab_path}/examples" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnXLab/."
 | 
|---|
| 243 | else
 | 
|---|
| 244 |   echo "Directory ${obuild_OnXLab_path}/examples not found."
 | 
|---|
| 245 | fi
 | 
|---|
| 246 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnXLab/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 247 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnXLab/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 248 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/BatchLab/."
 | 
|---|
| 249 | if [ -d "${obuild_BatchLab_path}/scripts" ] ; then
 | 
|---|
| 250 |   /bin/cp -R "${obuild_BatchLab_path}/scripts" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/BatchLab/."
 | 
|---|
| 251 | else
 | 
|---|
| 252 |   echo "Directory ${obuild_BatchLab_path}/scripts not found."
 | 
|---|
| 253 | fi
 | 
|---|
| 254 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/BatchLab/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 255 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/BatchLab/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 256 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnX/."
 | 
|---|
| 257 | if [ -d "${obuild_OnX_path}/scripts" ] ; then
 | 
|---|
| 258 |   /bin/cp -R "${obuild_OnX_path}/scripts" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnX/."
 | 
|---|
| 259 | else
 | 
|---|
| 260 |   echo "Directory ${obuild_OnX_path}/scripts not found."
 | 
|---|
| 261 | fi
 | 
|---|
| 262 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnX/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 263 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/OnX/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 264 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/HEPVis/."
 | 
|---|
| 265 | if [ -d "${obuild_HEPVis_path}/fonts" ] ; then
 | 
|---|
| 266 |   /bin/cp -R "${obuild_HEPVis_path}/fonts" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/HEPVis/."
 | 
|---|
| 267 | else
 | 
|---|
| 268 |   echo "Directory ${obuild_HEPVis_path}/fonts not found."
 | 
|---|
| 269 | fi
 | 
|---|
| 270 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/HEPVis/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 271 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/HEPVis/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 272 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/HEPVis/."
 | 
|---|
| 273 | if [ -d "${obuild_HEPVis_path}/scripts" ] ; then
 | 
|---|
| 274 |   /bin/cp -R "${obuild_HEPVis_path}/scripts" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/HEPVis/."
 | 
|---|
| 275 | else
 | 
|---|
| 276 |   echo "Directory ${obuild_HEPVis_path}/scripts not found."
 | 
|---|
| 277 | fi
 | 
|---|
| 278 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/HEPVis/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 279 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/HEPVis/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 280 | /bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/CoinPython/."
 | 
|---|
| 281 | if [ -d "${obuild_CoinPython_path}/scripts" ] ; then
 | 
|---|
| 282 |   /bin/cp -R "${obuild_CoinPython_path}/scripts" "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/CoinPython/."
 | 
|---|
| 283 | else
 | 
|---|
| 284 |   echo "Directory ${obuild_CoinPython_path}/scripts not found."
 | 
|---|
| 285 | fi
 | 
|---|
| 286 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/CoinPython/." -depth -name CVS -exec /bin/rm -R -f {} \;
 | 
|---|
| 287 | find "${obuild_snovis_path}/${obuild_dir_bin}/snovis_session.app/Contents/Resources/CoinPython/." -depth -name .svn -exec /bin/rm -R -f {} \;
 | 
|---|
| 288 | 
 | 
|---|
| 289 | fi
 | 
|---|
| 290 | unset obuild_platform_result
 | 
|---|
| 291 | /bin/rm -f "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find"
 | 
|---|
| 292 | 
 | 
|---|