dom2ascii [SRC] [CPP] [JOB] [SCAN]
TOOLS / SCRIPTS



   1 | #!/bin/sh
   2 | 
   3 | echo " DOM2ASCII v1.0"
   4 | echo " Description : tool to make the PRISSMA post-processing"
   5 | 
   6 | #
   7 | # Path definitions
   8 | #
   9 | 
  10 | LOCALDIR=`pwd`
  11 | CHOICESD=$DOMHOME/TOOLS/CHOICES
  12 | TOOLEXEDIR=$DOMHOME/HOSTS/$DOM_HOSTTYPE
  13 | 
  14 | #
  15 | # Detect if all files are ready for run
  16 | #
  17 | 
  18 | if [ -f 'dom2ascii.choices' ]
  19 | then
  20 |   make -f $DOMHOME/TOOLS/DOM2ASCII/Makefile all
  21 |   $TOOLEXEDIR/dom2ascii_$DOM_VERSION.e_$DOM_HOSTTYPE
  22 | else
  23 |   echo " -- No dom2ascii.choices file found, copying default file."
  24 |   echo "    Fill choices file and run again dom2ascii"
  25 |   cp $CHOICESD/dom2ascii.choices .
  26 | fi