Debian Codegraph @

install/unix/install2

raw symbols SCIP
1 #! /bin/bashscip-shell filesystem . . `/bin/bash`.
2 # .COPYRIGHT: Copyright (c) 1988-2011 European Southern Observatory,
3 # all rights reserved
4 # .TYPE command
5 # .NAME install1.sh
6 # .LANGUAGE shell script
7 # .ENVIRONMENT Unix Systems. Executable under SHELL and C-SHELL
8 # .COMMENTS Installation procedure of the MIDAS system starting from
9 # scratch.
10 # Usage: install system [options]
11 #
12 # .AUTHOR K. Banse
13 # .VERSION 1.0
14 # 060328 Creation
15 # 111116 last modif
16
17
18 echo=echo
19 if [scip-shell system . . `[`. "`echoscip-shell system . . echo. -n`" = "-n" ] ; then
20 SV_NONL="\c"
21 else
22 echo="echo -n"
23 fi
24
25
26 # link correct ftoc dir to good-ftoc
27 # and copy relevant .fc files (+ correct y123.for files)
28
29 rmscip-shell system . . rm. -rf $MID_HOME/system/good-ftoc
30
31 if [scip-shell system . . `[`. -f "$MID_HOME/libsrc/ftoc/ftocc" ] ; then
32 lnscip-shell system . . ln. -s $MID_HOME/system/ftoc $MID_HOME/system/good-ftoc
33 echoscip-shell system . . echo. "*** Use (default) $MID_HOME/system/ftoc"
34 MYNO=1
35 else
36 lnscip-shell system . . ln. -s $MID_HOME/system/ftoc-new $MID_HOME/system/good-ftoc
37 echoscip-shell system . . echo. "*** Use (new) $MID_HOME/system/ftoc-new"
38 MYNO=2
39 fi
40
41 echoscip-shell system . . echo. "*** and copy ...-$MYNO files for f2c work"
42
43
44 cpscip-shell system . . cp. $MID_HOME/prim/plot/libsrc/yplot-$MYNO.for $MID_HOME/prim/plot/libsrc/yplot.for
45 cpscip-shell system . . cp. $MID_HOME/prim/plot/libsrc/getinp-$MYNO.fc $MID_HOME/prim/plot/libsrc/getinp.fc
46
47 cpscip-shell system . . cp. $MID_HOME/libsrc/plot/getaxs-$MYNO.fc $MID_HOME/libsrc/plot/getaxs.fc
48 cpscip-shell system . . cp. $MID_HOME/libsrc/plot/pta-$MYNO.fc $MID_HOME/libsrc/plot/pta.fc
49 cpscip-shell system . . cp. $MID_HOME/libsrc/plot/ptb-$MYNO.fc $MID_HOME/libsrc/plot/ptb.fc
50 cpscip-shell system . . cp. $MID_HOME/libsrc/plot/ptg-$MYNO.fc $MID_HOME/libsrc/plot/ptg.fc
51 cpscip-shell system . . cp. $MID_HOME/libsrc/plot/ptk-$MYNO.fc $MID_HOME/libsrc/plot/ptk.fc
52 cpscip-shell system . . cp. $MID_HOME/libsrc/plot/pto-$MYNO.fc $MID_HOME/libsrc/plot/pto.fc
53 cpscip-shell system . . cp. $MID_HOME/libsrc/plot/ypt-$MYNO.for $MID_HOME/libsrc/plot/ypt.for
54
55 cpscip-shell system . . cp. $MID_HOME/libsrc/agl/yagl-$MYNO.for $MID_HOME/libsrc/agl/yagl.for
56 cpscip-shell system . . cp. $MID_HOME/libsrc/agl/fintf-$MYNO.fc $MID_HOME/libsrc/agl/fintf.fc
57
58 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/iic-$MYNO.fc $MID_HOME/libsrc/idi/cidi/iic.fc
59 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/iid-$MYNO.fc $MID_HOME/libsrc/idi/cidi/iid.fc
60 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/iig-$MYNO.fc $MID_HOME/libsrc/idi/cidi/iig.fc
61 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/iii-$MYNO.fc $MID_HOME/libsrc/idi/cidi/iii.fc
62 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/iil-$MYNO.fc $MID_HOME/libsrc/idi/cidi/iil.fc
63 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/iim-$MYNO.fc $MID_HOME/libsrc/idi/cidi/iim.fc
64 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/iir-$MYNO.fc $MID_HOME/libsrc/idi/cidi/iir.fc
65 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/yiic-$MYNO.for $MID_HOME/libsrc/idi/cidi/yiic.for
66 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/yiid-$MYNO.for $MID_HOME/libsrc/idi/cidi/yiid.for
67 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/yiig-$MYNO.for $MID_HOME/libsrc/idi/cidi/yiig.for
68 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/yiii-$MYNO.for $MID_HOME/libsrc/idi/cidi/yiii.for
69 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/yiim-$MYNO.for $MID_HOME/libsrc/idi/cidi/yiim.for
70 cpscip-shell system . . cp. $MID_HOME/libsrc/idi/cidi/yiir-$MYNO.for $MID_HOME/libsrc/idi/cidi/yiir.for
71
72
73 cpscip-shell system . . cp. $MID_HOME/prim/display/libsrc/f2cdsp-$MYNO.fc $MID_HOME/prim/display/libsrc/f2cdsp.fc
74 cpscip-shell system . . cp. $MID_HOME/prim/display/libsrc/yf2cdsp-$MYNO.for $MID_HOME/prim/display/libsrc/yf2cdsp.for
75
76 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/f2cgen-$MYNO.fc $MID_HOME/prim/general/libsrc/f2cgen.fc
77 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/f2cgena-$MYNO.fc $MID_HOME/prim/general/libsrc/f2cgena.fc
78 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/extrco-$MYNO.fc $MID_HOME/prim/general/libsrc/extrco.fc
79 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/clefra-$MYNO.fc $MID_HOME/prim/general/libsrc/clefra.fc
80 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/vecsubs-$MYNO.fc $MID_HOME/prim/general/libsrc/vecsubs.fc
81 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/stvals-$MYNO.fc $MID_HOME/prim/general/libsrc/stvals.fc
82 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/zmstat-$MYNO.fc $MID_HOME/prim/general/libsrc/zmstat.fc
83 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/yf2cgen-$MYNO.for $MID_HOME/prim/general/libsrc/yf2cgen.for
84 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/yextrco-$MYNO.for $MID_HOME/prim/general/libsrc/yextrco.for
85 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/yvecsubs-$MYNO.for $MID_HOME/prim/general/libsrc/yvecsubs.for
86 cpscip-shell system . . cp. $MID_HOME/prim/general/libsrc/ystvals-$MYNO.for $MID_HOME/prim/general/libsrc/ystvals.for
87
88 cpscip-shell system . . cp. $MID_HOME/contrib/iue/libsrc/istiue-$MYNO.fc $MID_HOME/contrib/iue/libsrc/istiue.fc
89
90 exit 0