~ubuntu-branches/ubuntu/wily/eso-midas/wily-proposed

« back to all changes in this revision

Viewing changes to system/exec/ftoc_vmr.sh

  • 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/sh
 
2
# .COPYRIGHT: Copyright (c) 1988-2005 European Southern Observatory,
 
3
#                                         all rights reserved
 
4
# .TYPE           command
 
5
# .NAME           ftoc_vmr.sh
 
6
# .LANGUAGE       shell script
 
7
# .ENVIRONMENT    Unix Systems. Executable under SHELL and C-SHELL
 
8
# .COMMENTS       Test for Fortran to C interface. Executes ftoc_vmr.exe
 
9
#                 if exists and it is executable, otherwise nothing.
 
10
# .REMARKS
 
11
# .AUTHOR         Carlos Guirao
 
12
# .VERSION 1.1    06-Jul-1992:  Implementation
 
13
# 050422        last modif
 
14
 
 
15
 
 
16
# <dirname> emulated with <sed>
 
17
#   DIR=`dirname $0`
 
18
DIR=`echo $0 | sed -e 's/[^\/]*$//' -e 's/^$/./' -e 's/\/$//'`
 
19
 
 
20
if [ -f $DIR/ftoc_vmr.exe -a -s $DIR/ftoc_vmr.exe ] ; then
 
21
        $DIR/ftoc_vmr.exe 
 
22
fi
 
23
exit 0