autoSWUpdate.sh 504 Bytes
#!/bin/bash

export DECODER=/home/budnik/depotDECODER

 for SW_SRC in OMNI ACE_RealTime # STEREO-A STEREO-B
  do
    for TARGET in jupiter mars mercury saturn venus rosetta juno
        do
           echo ${TARGET}  
           if [[ $TARGET == "juno" ]] 
            then
                # juno orbit == jupiter
                ${DECODER}/SW2/remoteUpdate.sh juno ${SW_SRC} cruise
            else
                ${DECODER}/SW2/remoteUpdate.sh ${TARGET} ${SW_SRC}
            fi
        done   
  done