Skip to content

Commit 928dee8

Browse files
author
Prasanna
committed
Alekhya, Prasanna | MOBN-111 | Update bahmni-batch script for empty external cohort types
1 parent 517e76d commit 928dee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/rpm/bahmni-batch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
. /etc/bahmni-installer/bahmni.conf
44

55
export JOB_NAME=""
6+
export EXTERNAL_COHORT_TYPES=""
67
if [[ -z $1 ]]; then
78
export JOB_NAME="Total Export"
89
else
9-
export EXTERNAL_COHORT_TYPES=""
1010
INPUT_TYPE="$(cut -d'=' -f1 <<< $1)"
1111
if [[ "$INPUT_TYPE" == "belongs_to_external_cohort" ]]; then
1212
export EXTERNAL_COHORT_TYPES="$(cut -d'=' -f2 <<< $1)"

0 commit comments

Comments
 (0)