Changes in setup.sh [f7b9666:50f9ca6] in flex_extract.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.sh

    rf7b9666 r50f9ca6  
    3131ECGID='<groupID>'
    3232GATEWAY='<gatewayname>'
    33 DESTINATION='<name>@genericSftp'
     33DESTINATION='<username>@genericSftp'
    3434INSTALLDIR=None
    3535JOB_TEMPLATE=''
     
    5959if [ "$TARGET" == "ecgate" ] || [ "$TARGET" == "cca" ]; then
    6060  # check if necessary Parameters are set
    61   if [ -z "$ECUID" ] || [ -z "$ECGID" ] || [ -z "$GATEWAY" ] || [ -z "$DESTINATION" ]; then
    62     echo "ERROR: At least one of the following parameters are not set: ECUID, ECGID, GATEWAY, DESTINATION!"
     61  if [ -z "$ECUID" ] || [ -z "$ECGID" ] || [ "$ECUID" == "<username>" ] || [ "$ECGID" == "<groupID>" ] ; then
     62    echo "ERROR: At least one of the following parameters are not properly set: ECUID or ECGID!"
    6363    echo "EXIT WITH ERROR"
    6464    exit
    6565  else
    6666    parameterlist+=" --ecuid=$ECUID --ecgid=$ECGID --gateway=$GATEWAY --destination=$DESTINATION"
     67  fi
     68  if [ -z "$GATEWAY" ] || [ -z "$DESTINATION" ] || [ "$GATEWAY" == "<gatewayname>" ] || [ "$DESTINATION" == "<username>@genericSftp" ] ; then
     69    echo "WARNING: Not setting parameters GATEWAY and DESTINATION means there will be no file transfer to local gateway server."
    6770  fi
    6871fi
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG