4
# .LANGUAGE shell script
5
# .ENVIRONMENT Unix Systems. Executable under SHELL and C-SHELL
6
# .COMMENTS Installation procedure of the MIDAS system starting from
9
# .REMARKS The external variable $MIDASHOME and $MIDASVERS must be
11
# this script. They can be defined in the ".profile" or
12
# ".cshrc" and executed when you login in the MIDAS account.
14
# .AUTHOR Carlos Guirao
15
# .VERSION 1.1 24-Jun-1988: Implementation
16
# .VERSION 1.2 910219: Removing System name
17
# .VERSION 2.1 910724: Output to $MIDASHOME/$MIDVERS/local
22
echo "Use: update.bgr [MAKE_OPTIONS]"
27
# If $MID_HOME/tmp does not exists then creates it.
29
if [ ! -d $MID_HOME/tmp ]; then
33
time /bin/bash ./update $1 > $MIDASHOME/$MIDVERS/tmp/update.$$ 2>&1 &
34
echo "Running update in background"
35
echo "Results are coming in $MIDASHOME/$MIDVERS/tmp/update.$$"