File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ XDB_EXPORT_GZIP="$DB_EXPORT_GZIP"
1111XDB_EXPORT=
1212
1313# Required env variables
14- if [[ -z " $DB_NAME " ]]; then " ERROR: ` DB_NAME` env variable is required." ; exit 1; fi
15- if [[ -z " $DB_USERNAME " ]]; then " ERROR: ` DB_USERNAME` env variable is required." ; exit 1; fi
16- if [[ -z " $DB_PASSWORD " ]]; then " ERROR: ` DB_PASSWORD` env variable is required." ; exit 1; fi
14+ if [[ -z " $DB_NAME " ]]; then echo " ERROR: ' DB_NAME' env variable is required." ; exit 1; fi
15+ if [[ -z " $DB_USERNAME " ]]; then echo " ERROR: ' DB_USERNAME' env variable is required." ; exit 1; fi
16+ if [[ -z " $DB_PASSWORD " ]]; then echo " ERROR: ' DB_PASSWORD' env variable is required." ; exit 1; fi
1717
1818# Optional env variables
1919if [[ -z " $XDB_PROTO " ]]; then XDB_PROTO=" tcp" ; fi
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ XDB_IMPORT_GZIP="$DB_IMPORT_GZIP"
1313XDB_IMPORT=
1414
1515# Required env variables
16- if [[ -z " $DB_NAME " ]]; then " ERROR: ` DB_NAME` env variable is required." ; exit 1; fi
17- if [[ -z " $DB_USERNAME " ]]; then " ERROR: ` DB_USERNAME` env variable is required." ; exit 1; fi
18- if [[ -z " $DB_PASSWORD " ]]; then " ERROR: ` DB_PASSWORD` env variable is required." ; exit 1; fi
19- if [[ -z " $DB_IMPORT_FILE_PATH " ]]; then " ERROR: ` DB_IMPORT_FILE_PATH` env variable is required." ; exit 1; fi
16+ if [[ -z " $DB_NAME " ]]; then echo " ERROR: ' DB_NAME' env variable is required." ; exit 1; fi
17+ if [[ -z " $DB_USERNAME " ]]; then echo " ERROR: ' DB_USERNAME' env variable is required." ; exit 1; fi
18+ if [[ -z " $DB_PASSWORD " ]]; then echo " ERROR: ' DB_PASSWORD' env variable is required." ; exit 1; fi
19+ if [[ -z " $DB_IMPORT_FILE_PATH " ]]; then echo " ERROR: ' DB_IMPORT_FILE_PATH' env variable is required." ; exit 1; fi
2020
2121# Optional env variables
2222if [[ -z " $XDB_PROTO " ]]; then XDB_PROTO=" tcp" ; fi
You can’t perform that action at this time.
0 commit comments