From f3a5859d0fad6fe8b5280e90327bd21619c933b4 Mon Sep 17 00:00:00 2001 From: Pascal Grimaud Date: Thu, 17 Jun 2021 10:15:54 +0200 Subject: [PATCH] Fix local jhipster version script --- test-integration/scripts/10-replace-version-jhipster.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-integration/scripts/10-replace-version-jhipster.sh b/test-integration/scripts/10-replace-version-jhipster.sh index fe7340b0..4546842d 100755 --- a/test-integration/scripts/10-replace-version-jhipster.sh +++ b/test-integration/scripts/10-replace-version-jhipster.sh @@ -1,7 +1,9 @@ #!/bin/bash set -e -source "$JHI_SCRIPTS/00-init-env.sh" +if [[ $JHI_SCRIPTS != '' ]]; then + source "$JHI_SCRIPTS/00-init-env.sh" +fi if [[ $JHI_VERSION == '' ]]; then JHI_VERSION=0.0.0-CICD