- Timestamp:
- Mar 8, 2020, 2:28:44 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- b1674ed, e0005c9
- Parents:
- 5868d74
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.sh
rf7b9666 r50f9ca6 31 31 ECGID='<groupID>' 32 32 GATEWAY='<gatewayname>' 33 DESTINATION='< name>@genericSftp'33 DESTINATION='<username>@genericSftp' 34 34 INSTALLDIR=None 35 35 JOB_TEMPLATE='' … … 59 59 if [ "$TARGET" == "ecgate" ] || [ "$TARGET" == "cca" ]; then 60 60 # check if necessary Parameters are set 61 if [ -z "$ECUID" ] || [ -z "$ECGID" ] || [ -z "$GATEWAY" ] || [ -z "$DESTINATION" ]; then62 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!" 63 63 echo "EXIT WITH ERROR" 64 64 exit 65 65 else 66 66 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." 67 70 fi 68 71 fi
Note: See TracChangeset
for help on using the changeset viewer.