[472] | 1 | case $CONFIG in |
---|
| 2 | '') |
---|
| 3 | if test -f config.sh; then TOP=.; |
---|
| 4 | elif test -f ../config.sh; then TOP=..; |
---|
| 5 | elif test -f ../../config.sh; then TOP=../..; |
---|
| 6 | elif test -f ../../../config.sh; then TOP=../../..; |
---|
| 7 | elif test -f ../../../../config.sh; then TOP=../../../..; |
---|
| 8 | else |
---|
| 9 | echo "Can't find config.sh."; exit 1 |
---|
| 10 | fi |
---|
| 11 | . $TOP/config.sh |
---|
| 12 | ;; |
---|
| 13 | esac |
---|
| 14 | : This forces SH files to create target in same directory as SH file. |
---|
| 15 | : This is so that make depend always knows where to find SH derivatives. |
---|
| 16 | case "$0" in |
---|
| 17 | */*) cd `expr X$0 : 'X\(.*\)/'` ;; |
---|
| 18 | esac |
---|
| 19 | #echo "Extracting move.sh (with variable substitutions)" |
---|
| 20 | : This section of the file will have variable substitutions done on it. |
---|
| 21 | : Move anything that needs config subs from !NO!SUBS! section to !GROK!THIS!. |
---|
| 22 | : Protect any dollar signs and backticks that you do not want interpreted |
---|
| 23 | : by putting a backslash in front. You may delete these comments. |
---|
| 24 | $spitshell >move.sh <<!GROK!THIS! |
---|
| 25 | ###################################### |
---|
| 26 | # |
---|
| 27 | # g4system.U |
---|
| 28 | # |
---|
| 29 | #+ |
---|
| 30 | G4SYSTEM="$g4system" |
---|
| 31 | export G4SYSTEM |
---|
| 32 | echo "On this machine the G4SYSTEM=\$G4SYSTEM" |
---|
| 33 | |
---|
| 34 | # |
---|
| 35 | # g4dirs.U |
---|
| 36 | # |
---|
| 37 | #+ |
---|
| 38 | G4INSTALL="$g4install" |
---|
| 39 | export G4INSTALL |
---|
| 40 | echo "On this machine the G4INSTALL=\$G4INSTALL" |
---|
| 41 | |
---|
| 42 | #+ |
---|
| 43 | if [ X$g4include != X -a X$g4include != Xn ] ; then |
---|
| 44 | G4INCLUDE="$g4include" |
---|
| 45 | export G4INCLUDE |
---|
| 46 | echo "On this machine the G4INCLUDE=\$G4INCLUDE" |
---|
| 47 | fi |
---|
| 48 | |
---|
| 49 | #+ |
---|
| 50 | if [ X$g4tmp != X ] ; then |
---|
| 51 | G4TMP="$g4tmp" |
---|
| 52 | export G4TMP |
---|
| 53 | echo "On this machine the G4TMP=\$G4TMP" |
---|
| 54 | fi |
---|
| 55 | |
---|
| 56 | #+ |
---|
| 57 | if [ X$g4lib != X ] ; then |
---|
| 58 | G4LIB="$g4lib" |
---|
| 59 | export G4LIB |
---|
| 60 | echo "On this machine the G4LIB=\$G4LIB" |
---|
| 61 | fi |
---|
| 62 | |
---|
| 63 | #+ |
---|
| 64 | if [ X$g4lib != X ] ; then |
---|
| 65 | G4BIN="$g4lib/../bin" |
---|
| 66 | export G4BIN |
---|
| 67 | fi |
---|
| 68 | |
---|
| 69 | #+ |
---|
| 70 | if [ X$g4levelgammadata != X ] ; then |
---|
| 71 | G4LEVELGAMMADATA="$g4levelgammadata" |
---|
| 72 | export G4LEVELGAMMADATA |
---|
| 73 | echo "On this machine the G4LEVELGAMMADATA=\$G4LEVELGAMMADATA" |
---|
| 74 | fi |
---|
| 75 | |
---|
| 76 | #+ |
---|
| 77 | if [ X$g4radioactivedata != X ] ; then |
---|
| 78 | G4RADIOACTIVEDATA="$g4radioactivedata" |
---|
| 79 | export G4RADIOACTIVEDATA |
---|
| 80 | echo "On this machine the G4RADIOACTIVEDATA=\$G4RADIOACTIVEDATA" |
---|
| 81 | fi |
---|
| 82 | |
---|
| 83 | #+ |
---|
| 84 | if [ X$g4ledata != X ] ; then |
---|
| 85 | G4LEDATA="$g4ledata" |
---|
| 86 | export G4LEDATA |
---|
| 87 | echo "On this machine the G4LEDATA=\$G4LEDATA" |
---|
| 88 | fi |
---|
| 89 | |
---|
| 90 | #+ |
---|
| 91 | if [ X$g4neutronhpcrosssections != X ] ; then |
---|
[593] | 92 | G4NEUTRONHPDATA="$g4neutronhpcrosssections" |
---|
| 93 | export G4NEUTRONHPDATA |
---|
| 94 | echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA" |
---|
[472] | 95 | fi |
---|
| 96 | |
---|
| 97 | #+ |
---|
[606] | 98 | if [ X$g4abladata != X ] ; then |
---|
| 99 | G4ABLADATA="$g4abladata" |
---|
| 100 | export G4ABLADATA |
---|
| 101 | echo "On this machine the G4ABLADATA=\$G4ABLADATA" |
---|
| 102 | fi |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | |
---|
| 106 | #+ |
---|
[483] | 107 | #if [ X$g4elasticdata != X ] ; then |
---|
| 108 | #G4ELASTICDATA="$g4elasticdata" |
---|
| 109 | #export G4ELASTICDATA |
---|
| 110 | #echo "On this machine the G4ELASTICDATA=\$G4ELASTICDATA" |
---|
| 111 | #fi |
---|
[472] | 112 | |
---|
| 113 | # |
---|
| 114 | # g4clhep.U |
---|
| 115 | # |
---|
| 116 | if [ X$g4clhep_base_dir != X/usr -o X$g4clhep_base_dir != X/usr/local ] ; then |
---|
| 117 | CLHEP_BASE_DIR="$g4clhep_base_dir" |
---|
| 118 | export CLHEP_BASE_DIR |
---|
| 119 | echo "On this machine the CLHEP_BASE_DIR=\$CLHEP_BASE_DIR" |
---|
| 120 | fi |
---|
| 121 | |
---|
| 122 | #+ |
---|
| 123 | if [ X$g4clhep_include_dir != X ] ; then |
---|
| 124 | CLHEP_INCLUDE_DIR="$g4clhep_include_dir" |
---|
| 125 | export CLHEP_INCLUDE_DIR |
---|
| 126 | echo "On this machine the CLHEP_INCLUDE_DIR=\$CLHEP_INCLUDE_DIR" |
---|
| 127 | fi |
---|
| 128 | |
---|
| 129 | #+ |
---|
| 130 | if [ X$g4clhep_lib_dir != X ] ; then |
---|
| 131 | CLHEP_LIB_DIR="$g4clhep_lib_dir" |
---|
| 132 | export CLHEP_LIB_DIR |
---|
| 133 | echo "On this machine the CLHEP_LIB_DIR=\$CLHEP_LIB_DIR" |
---|
| 134 | fi |
---|
| 135 | |
---|
| 136 | #+ |
---|
| 137 | if [ X$g4clhep_lib != X ] ; then |
---|
| 138 | CLHEP_LIB="$g4clhep_lib" |
---|
| 139 | export CLHEP_LIB |
---|
| 140 | echo "On this machine the CLHEP_LIB=\$CLHEP_LIB" |
---|
| 141 | fi |
---|
| 142 | |
---|
| 143 | #+ |
---|
| 144 | # |
---|
| 145 | # g4debug |
---|
| 146 | # |
---|
[483] | 147 | if [ X$g4debug = Xy ] ; then |
---|
| 148 | G4DEBUG=1 |
---|
[472] | 149 | export G4DEBUG |
---|
| 150 | echo "On this machine the G4DEBUG=\$G4DEBUG" |
---|
| 151 | fi |
---|
| 152 | |
---|
| 153 | # |
---|
| 154 | # g4analysis |
---|
| 155 | # |
---|
| 156 | #+ |
---|
| 157 | if [ X$g4wanalysis_use = Xy ] ; then |
---|
| 158 | G4ANALYSIS_USE=1 |
---|
| 159 | export G4ANALYSIS_USE |
---|
| 160 | echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE" |
---|
| 161 | fi |
---|
| 162 | |
---|
| 163 | # |
---|
| 164 | # g4ui |
---|
| 165 | # |
---|
| 166 | #+ |
---|
| 167 | if [ X$g4ui_build_xaw_session = Xy ] ; then |
---|
| 168 | G4UI_BUILD_XAW_SESSION=1 |
---|
| 169 | export G4UI_BUILD_XAW_SESSION |
---|
| 170 | echo "On this machine the G4UI_BUILD_XAW_SESSION=\$G4UI_BUILD_XAW_SESSION" |
---|
| 171 | fi |
---|
| 172 | |
---|
| 173 | #+ |
---|
| 174 | if [ X$g4ui_use_xaw = Xy ] ; then |
---|
| 175 | G4UI_USE_XAW=1 |
---|
| 176 | export G4UI_USE_XAW |
---|
| 177 | echo "On this machine the G4UI_USE_XAW=\$G4UI_USE_XAW" |
---|
| 178 | fi |
---|
| 179 | |
---|
| 180 | #+ |
---|
| 181 | if [ X$g4ui_build_xm_session = Xy ] ; then |
---|
| 182 | G4UI_BUILD_XM_SESSION=1 |
---|
| 183 | export G4UI_BUILD_XM_SESSION |
---|
| 184 | echo "On this machine the G4UI_BUILD_XM_SESSION=\$G4UI_BUILD_XM_SESSION" |
---|
| 185 | fi |
---|
| 186 | |
---|
| 187 | #+ |
---|
| 188 | if [ X$g4ui_use_xm = Xy ] ; then |
---|
| 189 | G4UI_USE_XM=1 |
---|
| 190 | export G4UI_USE_XM |
---|
| 191 | echo "On this machine the G4UI_USE_XM=\$G4UI_USE_XM" |
---|
| 192 | fi |
---|
| 193 | |
---|
| 194 | #+ |
---|
| 195 | if [ X$g4ui_build_win32_session = Xy ] ; then |
---|
| 196 | G4UI_BUILD_WIN32_SESSION=1 |
---|
| 197 | export G4UI_BUILD_WIN32_SESSION |
---|
| 198 | echo "On this machine the G4UI_BUILD_WIN32_SESSION=\$G4UI_BUILD_WIN32_SESSION" |
---|
| 199 | fi |
---|
| 200 | |
---|
| 201 | #+ |
---|
| 202 | if [ X$g4ui_use_win32 = Xy ] ; then |
---|
| 203 | G4UI_USE_WIN32=1 |
---|
| 204 | export G4UI_USE_WIN32 |
---|
| 205 | echo "On this machine the G4UI_USE_WIN32=\$G4UI_USE_WIN32" |
---|
| 206 | fi |
---|
| 207 | |
---|
| 208 | # |
---|
| 209 | # g4vis |
---|
| 210 | # |
---|
| 211 | #+ |
---|
| 212 | if [ X$g4vis_build_dawn_driver = Xy ] ; then |
---|
| 213 | G4VIS_BUILD_DAWN_DRIVER=1 |
---|
| 214 | export G4VIS_BUILD_DAWN_DRIVER |
---|
| 215 | echo "On this machine the G4VIS_BUILD_DAWN_DRIVER=\$G4VIS_BUILD_DAWN_DRIVER" |
---|
| 216 | fi |
---|
| 217 | |
---|
| 218 | #+ |
---|
| 219 | if [ X$g4vis_build_openglx_driver = Xy ] ; then |
---|
| 220 | G4VIS_BUILD_OPENGLX_DRIVER=1 |
---|
| 221 | export G4VIS_BUILD_OPENGLX_DRIVER |
---|
| 222 | echo "On this machine the G4VIS_BUILD_OPENGLX_DRIVER=\$G4VIS_BUILD_OPENGLX_DRIVER" |
---|
| 223 | fi |
---|
| 224 | |
---|
| 225 | #+ |
---|
| 226 | if [ X$g4vis_build_openglxm_driver = Xy ] ; then |
---|
| 227 | G4VIS_BUILD_OPENGLXM_DRIVER=1 |
---|
| 228 | export G4VIS_BUILD_OPENGLXM_DRIVER |
---|
| 229 | echo "On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=\$G4VIS_BUILD_OPENGLXM_DRIVER" |
---|
| 230 | fi |
---|
| 231 | |
---|
| 232 | #+ |
---|
| 233 | if [ X$g4vis_build_openglwin32_driver = Xy ] ; then |
---|
| 234 | G4VIS_BUILD_OPENGLWIN32_DRIVER=1 |
---|
| 235 | export G4VIS_BUILD_OPENGLWIN32_DRIVER |
---|
| 236 | echo "On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=\$G4VIS_BUILD_OPENGLWIN32_DRIVER" |
---|
| 237 | fi |
---|
| 238 | |
---|
| 239 | #+ |
---|
| 240 | if [ X$g4vis_build_oix_driver = Xy ] ; then |
---|
| 241 | G4VIS_BUILD_OIX_DRIVER=1 |
---|
| 242 | export G4VIS_BUILD_OIX_DRIVER |
---|
| 243 | echo "On this machine the G4VIS_BUILD_OIX_DRIVER=\$G4VIS_BUILD_OIX_DRIVER" |
---|
| 244 | fi |
---|
| 245 | |
---|
| 246 | #+ |
---|
| 247 | if [ X$g4vis_build_oiwin32_driver = Xy ] ; then |
---|
| 248 | G4VIS_BUILD_OIWIN32_DRIVER=1 |
---|
| 249 | export G4VIS_BUILD_OIWIN32_DRIVER |
---|
| 250 | echo "On this machine the G4VIS_BUILD_OIWIN32_DRIVER=\$G4VIS_BUILD_OIWIN32_DRIVER" |
---|
| 251 | fi |
---|
| 252 | |
---|
| 253 | #+ |
---|
| 254 | if [ X$g4vis_build_vrml_driver = Xy ] ; then |
---|
| 255 | G4VIS_BUILD_VRML_DRIVER=1 |
---|
| 256 | export G4VIS_BUILD_VRML_DRIVER |
---|
| 257 | echo "On this machine the G4VIS_BUILD_VRML_DRIVER=\$G4VIS_BUILD_VRML_DRIVER" |
---|
| 258 | fi |
---|
| 259 | |
---|
| 260 | #+ |
---|
| 261 | if [ X$g4vis_use_dawn = Xy ] ; then |
---|
| 262 | G4VIS_USE_DAWN=1 |
---|
| 263 | export G4VIS_USE_DAWN |
---|
| 264 | echo "On this machine the G4VIS_USE_DAWN=\$G4VIS_USE_DAWN" |
---|
| 265 | fi |
---|
| 266 | |
---|
| 267 | #+ |
---|
| 268 | if [ X$g4vis_use_openglx = Xy ] ; then |
---|
| 269 | G4VIS_USE_OPENGLX=1 |
---|
| 270 | export G4VIS_USE_OPENGLX |
---|
| 271 | echo "On this machine the G4VIS_USE_OPENGLX=\$G4VIS_USE_OPENGLX" |
---|
| 272 | fi |
---|
| 273 | |
---|
| 274 | #+ |
---|
| 275 | if [ X$g4vis_use_openglxm = Xy ] ; then |
---|
| 276 | G4VIS_USE_OPENGLXM=1 |
---|
| 277 | export G4VIS_USE_OPENGLXM |
---|
| 278 | echo "On this machine the G4VIS_USE_OPENGLXM=\$G4VIS_USE_OPENGLXM" |
---|
| 279 | fi |
---|
| 280 | |
---|
| 281 | #+ |
---|
| 282 | if [ X$g4vis_use_openglwin32 = Xy ] ; then |
---|
| 283 | G4VIS_USE_OPENGLWIN32=1 |
---|
| 284 | export G4VIS_USE_OPENGLWIN32 |
---|
| 285 | echo "On this machine the G4VIS_USE_OPENGLWIN32=\$G4VIS_USE_OPENGLWIN32" |
---|
| 286 | fi |
---|
| 287 | |
---|
| 288 | #+ |
---|
| 289 | if [ X$g4vis_use_oix = Xy ] ; then |
---|
| 290 | G4VIS_USE_OIX=1 |
---|
| 291 | export G4VIS_USE_OIX |
---|
| 292 | echo "On this machine the G4VIS_USE_OIX=\$G4VIS_USE_OIX" |
---|
| 293 | fi |
---|
| 294 | |
---|
| 295 | #+ |
---|
| 296 | if [ X$g4vis_use_oiwin32 = Xy ] ; then |
---|
| 297 | G4VIS_USE_OIWIN32=1 |
---|
| 298 | export G4VIS_USE_OIWIN32 |
---|
| 299 | echo "On this machine the G4VIS_USE_OIWIN32=\$G4VIS_USE_OIWIN32" |
---|
| 300 | fi |
---|
| 301 | |
---|
| 302 | #+ |
---|
| 303 | if [ X$g4vis_use_vrml = Xy ] ; then |
---|
| 304 | G4VIS_USE_VRML=1 |
---|
| 305 | export G4VIS_USE_VRML |
---|
| 306 | echo "On this machine the G4VIS_USE_VRML=\$G4VIS_USE_VRML" |
---|
| 307 | fi |
---|
| 308 | |
---|
| 309 | #+ |
---|
| 310 | if [ X$g4vis_oglhome != X ] ; then |
---|
| 311 | OGLHOME="$g4vis_oglhome" |
---|
| 312 | export OGLHOME |
---|
| 313 | echo "On this machine the OGLHOME=\$OGLHOME" |
---|
| 314 | fi |
---|
| 315 | |
---|
[606] | 316 | |
---|
[472] | 317 | # |
---|
[606] | 318 | # Use GDML module |
---|
| 319 | # |
---|
| 320 | #+ |
---|
| 321 | if [ X$g4lib_build_gdml = Xy ] ; then |
---|
| 322 | G4LIB_BUILD_GDML=1 |
---|
| 323 | export G4LIB_BUILD_GDML |
---|
| 324 | echo "On this machine the G4LIB_BUILD_GDML=\$G4LIB_BUILD_GDML" |
---|
| 325 | fi |
---|
| 326 | |
---|
| 327 | if [ X$g4lib_build_gdml = Xy ] ; then |
---|
| 328 | XERCESCROOT=$g4gdml_xercesc_root |
---|
| 329 | export XERCESCROOT |
---|
| 330 | echo "On this machine the XERCESCROOT=\$XERCESCROOT" |
---|
| 331 | fi |
---|
| 332 | |
---|
| 333 | |
---|
| 334 | |
---|
| 335 | # |
---|
[472] | 336 | # Use G3TOG4 module |
---|
| 337 | # |
---|
| 338 | #+ |
---|
| 339 | if [ X$g4wlib_build_g3tog4 = Xy ] ; then |
---|
| 340 | G4LIB_BUILD_G3TOG4=1 |
---|
| 341 | export G4LIB_BUILD_G3TOG4 |
---|
| 342 | echo "On this machine the G4LIB_BUILD_G3TOG4=\$G4LIB_BUILD_G3TOG4" |
---|
| 343 | fi |
---|
| 344 | |
---|
| 345 | if [ X$g4w_use_g3tog4 = Xy ] ; then |
---|
| 346 | G4LIB_USE_G3TOG4=1 |
---|
| 347 | export G4LIB_USE_G3TOG4 |
---|
| 348 | echo "On this machine the G4LIB_USE_G3TOG4=\$G4LIB_USE_G3TOG4" |
---|
| 349 | fi |
---|
| 350 | |
---|
| 351 | # |
---|
| 352 | # Use ZLIB module |
---|
| 353 | # |
---|
| 354 | #+ |
---|
| 355 | if [ X$g4wlib_build_zlib = Xy ] ; then |
---|
| 356 | G4LIB_BUILD_ZLIB=1 |
---|
| 357 | export G4LIB_BUILD_ZLIB |
---|
| 358 | echo "On this machine the G4LIB_BUILD_ZLIB=\$G4LIB_BUILD_ZLIB" |
---|
| 359 | fi |
---|
| 360 | |
---|
| 361 | if [ X$g4w_use_zlib = Xy ] ; then |
---|
| 362 | G4LIB_USE_ZLIB=1 |
---|
| 363 | export G4LIB_USE_ZLIB |
---|
| 364 | echo "On this machine the G4LIB_USE_ZLIB=\$G4LIB_USE_ZLIB" |
---|
| 365 | fi |
---|
| 366 | |
---|
| 367 | |
---|
| 368 | #+ |
---|
| 369 | # |
---|
| 370 | # g4shared |
---|
| 371 | # |
---|
| 372 | if [ X$g4lib_build_shared = Xy ] ; then |
---|
| 373 | G4LIB_BUILD_SHARED=1 |
---|
| 374 | export G4LIB_BUILD_SHARED |
---|
| 375 | echo "On this machine the G4LIB_BUILD_SHARED=\$G4LIB_BUILD_SHARED" |
---|
| 376 | fi |
---|
| 377 | |
---|
| 378 | if [ X$g4lib_build_static = Xy ] ; then |
---|
| 379 | G4LIB_BUILD_STATIC=1 |
---|
| 380 | export G4LIB_BUILD_STATIC |
---|
| 381 | echo "On this machine the G4LIB_BUILD_STATIC=\$G4LIB_BUILD_STATIC" |
---|
| 382 | fi |
---|
| 383 | |
---|
| 384 | #+ |
---|
| 385 | # |
---|
| 386 | # g4granular |
---|
| 387 | # |
---|
| 388 | if [ X$g4lib_use_granular = Xy ] ; then |
---|
| 389 | G4LIB_USE_GRANULAR=1 |
---|
| 390 | export G4LIB_USE_GRANULAR |
---|
| 391 | echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR" |
---|
| 392 | fi |
---|
| 393 | |
---|
| 394 | ##################################################################### |
---|
| 395 | |
---|
| 396 | ##################################################################### |
---|
| 397 | |
---|
| 398 | echo "" |
---|
| 399 | echo "Starting installation..." |
---|
| 400 | echo "" |
---|
| 401 | |
---|
| 402 | cd $g4install |
---|
| 403 | #echo `pwd` |
---|
| 404 | |
---|
| 405 | |
---|
| 406 | # Remove 'verbosity' in 'tar' command |
---|
| 407 | # If not INCLUDE then install full tree in 'src' directory! |
---|
| 408 | # |
---|
| 409 | if [ X$g4includes_flag = Xn ] ; then |
---|
| 410 | if [ X$g4install != X$g4final_install ] ; then |
---|
| 411 | echo "" |
---|
| 412 | echo "Installing sources and headers..." |
---|
| 413 | echo "" |
---|
| 414 | mkdir -p $g4final_install/src/geant4/ |
---|
[593] | 415 | tar cf - Configure config/ source/ environments/ examples/ include/ |(cd $g4final_install/src/geant4/; tar xf -) |
---|
[472] | 416 | fi |
---|
| 417 | fi |
---|
| 418 | |
---|
| 419 | ######################################## |
---|
| 420 | # There is no env! |
---|
| 421 | if [ X$g4includes_flag = Xy ] ; then |
---|
| 422 | |
---|
| 423 | if [ X$g4install != X$g4final_install ] ; then |
---|
| 424 | echo "" |
---|
| 425 | echo "Installing sources..." |
---|
| 426 | echo "" |
---|
| 427 | |
---|
| 428 | mkdir -p $g4final_install/src/geant4/ |
---|
[593] | 429 | tar cf - Configure config/ source/ environments/ examples/ |(cd $g4final_install/src/geant4/; tar xf -) |
---|
[472] | 430 | fi |
---|
| 431 | |
---|
| 432 | echo "" |
---|
| 433 | echo "Installing headers..." |
---|
| 434 | echo "" |
---|
| 435 | cd $g4install/source |
---|
| 436 | $g4make includes dependencies="" |
---|
| 437 | fi |
---|
| 438 | |
---|
| 439 | # Move libraries |
---|
| 440 | if [ X$g4install != X$g4final_install ] ; then |
---|
| 441 | echo "" |
---|
| 442 | echo "Installing libraries..." |
---|
| 443 | echo "" |
---|
| 444 | mkdir -p $g4final_install/lib/geant4 |
---|
| 445 | cd $g4install/lib |
---|
| 446 | tar cf - $g4system |(cd $g4final_install/lib/geant4; tar xf -) |
---|
| 447 | fi |
---|
| 448 | |
---|
| 449 | # For the reason of strange behaivior for DOTted directory... |
---|
| 450 | mkdir -p $g4final_install/src/geant4/.config |
---|
| 451 | cd $g4install/.config |
---|
| 452 | tar cf - . |(cd $g4final_install/src/geant4/.config; tar xf -) |
---|
| 453 | |
---|
| 454 | |
---|
| 455 | !GROK!THIS! |
---|
| 456 | |
---|
| 457 | : In the following dollars and backticks do not need the extra backslash. |
---|
| 458 | $spitshell >>move.sh <<'!NO!SUBS!' |
---|
| 459 | !NO!SUBS! |
---|
| 460 | chmod 755 move.sh |
---|
| 461 | $eunicefix move.sh |
---|
| 462 | |
---|