This is an automated email from the ASF dual-hosted git repository.
jbertram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new dddbd9653a ARTEMIS-3981 fix syntax
dddbd9653a is described below
commit dddbd9653addbf611b6674dba2a8f280df0f79d8
Author: Justin Bertram <[email protected]>
AuthorDate: Thu Sep 15 10:15:23 2022 -0500
ARTEMIS-3981 fix syntax
---
artemis-docker/prepare-docker.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/artemis-docker/prepare-docker.sh b/artemis-docker/prepare-docker.sh
index 5289b6473b..82b68b3646 100755
--- a/artemis-docker/prepare-docker.sh
+++ b/artemis-docker/prepare-docker.sh
@@ -126,14 +126,14 @@ if [ -n "${FROM_RELEASE}" ]; then
CDN="$(curl -s
https://www.apache.org/dyn/closer.cgi\?preferred=true)activemq/activemq-artemis/${ARTEMIS_VERSION}/"
ARCHIVE="https://archive.apache.org/dist/activemq/activemq-artemis/${ARTEMIS_VERSION}/"
- ARTEMIS_BASE_URL=CDN
+ ARTEMIS_BASE_URL=${CDN}
ARTEMIS_DIST_FILE_NAME="apache-artemis-${ARTEMIS_VERSION}-bin.tar.gz"
CURL_OUTPUT="${BASE_TMPDIR}/${ARTEMIS_VERSION}/${ARTEMIS_DIST_FILE_NAME}"
# Fallback to the Apache archive if the version doesn't exist on the CDN
anymore
if [ -z "$(curl -Is ${ARTEMIS_BASE_URL}${ARTEMIS_DIST_FILE_NAME} | head -n 1
| grep 200)" ]
then
- ARTEMIS_BASE_URL=ARCHIVE
+ ARTEMIS_BASE_URL=${ARCHIVE}
fi
# If the CDN doesn't work then report the failure and abort