Skip to content

Commit

Permalink
fix: broken run-api.sh environment variable check (#19058)
Browse files Browse the repository at this point in the history
  • Loading branch information
netroms authored Nov 9, 2024
1 parent 7d976d9 commit 601ceb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dhis-2/run-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DHIS2_PORT=9090
SKIP_COMPILE=0

# Set DHIS2 home directory to DHIS2_HOME_DIR env variable if set
if [[ -v "$DHIS2_HOME" ]]; then
if [[ -n "$DHIS2_HOME" ]]; then
DHIS2_HOME_DIR=$DHIS2_HOME
fi

Expand Down

0 comments on commit 601ceb4

Please sign in to comment.