Debian Codegraph @

install/unix/installbgr

raw symbols SCIP
1 #! /bin/bash
2 # .TYPE command
3 # .NAME installbgr.sh
4 # .LANGUAGE shell script
5 # .ENVIRONMENT Unix Systems. Executable under SHELL and C-SHELL
6 # .COMMENTS Installation procedure of the MIDAS system starting from
7 # the scratch.
8 #
9 # .AUTHOR Carlos Guirao
10 # .VERSION 1.1 880624: Implementation
11 # .VERSION 1.2 910219: Removing NAME option
12 # .VERSION 2.1 910724: Output to $MIDASHOME/$MIDVERS/tmp
13 # 111206 last modif
14 #
15 if [ $# -gt 1 ]
16 then
17 echo "Use: install.bgr [MAKE_OPTIONS]"
18 exit
19 fi
20
21 #
22 # If $MID_HOME/tmp does not exists then creates it.
23 #
24 if [ ! -d $MID_HOME/tmp ]; then
25 mkdir $MID_HOME/tmp
26 fi
27
28 time /bin/bash ./install $1 > $MIDASHOME/$MIDVERS/tmp/install.$$ 2>&1 &
29 echo "Running install in background"
30 echo "Results are coming in $MIDASHOME/$MIDVERS/tmp/install.$$"
31
32 exit 0