Changeset b0ecdb2 in flex_extract.git for setup.sh


Ignore:
Timestamp:
Mar 8, 2020, 2:49:02 PM (4 years ago)
Author:
anphi <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
a54f79b
Parents:
f127aee (diff), 50f9ca6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'dev'
BUGFIX for ticket #263

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