~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to install/unix/installbgr

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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