Ignore:
Timestamp:
Sep 7, 2011, 11:50:51 AM (13 years ago)
Author:
campagne
Message:

jobBatchName corrected (JEC)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/submit2bqs-hdrfitsextractor.sh

    r507 r509  
    11#!/bin/sh
    22
     3#Process cmd line args: the -src option is mandatory (source name as Abell85)
     4sourceRadio=
     5while [ $# -gt 0 ]
     6do
     7  case "$1" in
     8      -src)  sourceRadio=$2; shift;;
     9        -h)
     10            echo >&2 \
     11            "usage: $0 -src souce"
     12            exit 1;;
     13        *)  break;;     # terminate while loop
     14    esac
     15    shift
     16done
    317
    4 sourceRadio=$1
    5 if [ "<$sourceRadio>" = "<>" ]; then
    6     jobBatchName="headerMaker-all"
    7 else
    8     jobBatchName="headerMaker-$1"
    9 fi
    10 
     18jobBatchName="headerMaker-$sourceRadio"
    1119jobLogName="${jobBatchName}.log.$$"
    1220
Note: See TracChangeset for help on using the changeset viewer.