Skip to content

Commit d113fde

Browse files
committed
Merge branch 'fix-wdt-and-wit-utility' into 'release/3.4'
Correct wdt-and-wit-utility.sh See merge request weblogic-cloud/weblogic-kubernetes-operator!4456
2 parents 94238ce + 4bd7402 commit d113fde

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

kubernetes/samples/scripts/common/wdt-and-wit-utility.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright (c) 2021, Oracle and/or its affiliates.
2+
# Copyright (c) 2021, 2023, Oracle and/or its affiliates.
33
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
#
55
# Description:
@@ -309,13 +309,13 @@ function install_wit {
309309

310310
WIT_INSTALL_ZIP_FILE="${WIT_INSTALL_ZIP_FILE:-imagetool.zip}"
311311

312-
echo @@ " Info: WDT_INSTALL_ZIP_URL is '$WDT_INSTALL_ZIP_URL'"
313-
if [ -z ${WDT_INSTALL_ZIP_URL} ]; then
314-
echo @@ "WDT_INSTALL_ZIP_URL is not set"
315-
if [ "$WDT_VERSION" == "LATEST" ]; then
316-
WDT_INSTALL_ZIP_URL=${WDT_INSTALL_ZIP_URL:-"https://github.com/oracle/weblogic-deploy-tooling/releases/latest/download/$WDT_INSTALL_ZIP_FILE"}
312+
echo @@ " Info: WIT_INSTALL_ZIP_URL is '$WIT_INSTALL_ZIP_URL'"
313+
if [ -z ${WIT_INSTALL_ZIP_URL} ]; then
314+
echo @@ "WIT_INSTALL_ZIP_URL is not set"
315+
if [ "$WIT_VERSION" == "LATEST" ]; then
316+
WIT_INSTALL_ZIP_URL=${WIT_INSTALL_ZIP_URL:-"https://github.com/oracle/weblogic-image-tool/releases/latest/download/$WIT_INSTALL_ZIP_FILE"}
317317
else
318-
WDT_INSTALL_ZIP_URL=${WDT_INSTALL_ZIP_URL:-"https://github.com/oracle/weblogic-deploy-tooling/releases/download/release-$WDT_VERSION/$WDT_INSTALL_ZIP_FILE"}
318+
WIT_INSTALL_ZIP_URL=${WIT_INSTALL_ZIP_URL:-"https://github.com/oracle/weblogic-image-tool/releases/download/release-$WIT_VERSION/$WIT_INSTALL_ZIP_FILE"}
319319
fi
320320
fi
321321

0 commit comments

Comments
 (0)