File: installbgr

package info (click to toggle)
eso-midas 15.09pl1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 146,960 kB
  • ctags: 55,836
  • sloc: ansic: 360,661; sh: 7,357; makefile: 6,229; pascal: 535; perl: 40; awk: 36; sed: 14
file content (32 lines) | stat: -rwxr-xr-x 869 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#! /bin/bash
# .TYPE           command
# .NAME           installbgr.sh
# .LANGUAGE       shell script
# .ENVIRONMENT    Unix Systems. Executable under SHELL and C-SHELL
# .COMMENTS       Installation procedure of the MIDAS system starting from
#                 the scratch.
#                 
# .AUTHOR         Carlos Guirao
# .VERSION 1.1    880624:		Implementation
# .VERSION 1.2    910219:		Removing NAME option
# .VERSION 2.1    910724:		Output to $MIDASHOME/$MIDVERS/tmp
# 111206	last modif
# 
if [ $# -gt 1 ]
then
	echo "Use: install.bgr [MAKE_OPTIONS]"	
	exit
fi

#
# If $MID_HOME/tmp does not exists then creates it.
#
if [ ! -d $MID_HOME/tmp ]; then
    mkdir $MID_HOME/tmp
fi

time /bin/bash ./install $1 > $MIDASHOME/$MIDVERS/tmp/install.$$ 2>&1 &
echo "Running install in background"
echo "Results are coming in $MIDASHOME/$MIDVERS/tmp/install.$$"

exit 0