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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.sh

    r50f9ca6 rf7b9666  
    3131ECGID='<groupID>'
    3232GATEWAY='<gatewayname>'
    33 DESTINATION='<username>@genericSftp'
     33DESTINATION='<name>@genericSftp'
    3434INSTALLDIR=None
    3535JOB_TEMPLATE=''
     
    5959if [ "$TARGET" == "ecgate" ] || [ "$TARGET" == "cca" ]; then
    6060  # check if necessary Parameters are set
    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!"
     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!"
    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."
    7067  fi
    7168fi
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG