Commit cf1fb9ec authored by Eric D. Schabell's avatar Eric D. Schabell

Merge branch 'erics_crcupdates' into 'master'

Fixed missing reference to init.sh oc client download.

See merge request !6
parents b5e8235b 4b377733
......@@ -6,6 +6,7 @@ SRC_DIR=./installs
EAP=jboss-eap-7.2.0.zip
RHPAM=rhpam-7.4.0-business-central-eap7-deployable.zip
RHPAM_KIE_SERVER=rhpam-7.4.0-kie-server-ee8.zip
OC_URL="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.2"
# Adjust these variables to point to an OCP instance.
OPENSHIFT_USER=developer
......@@ -142,8 +143,9 @@ elif [ $# -eq 0 ]; then
fi
# make some checks first before proceeding.
command -v oc -v >/dev/null 2>&1 || { echo >&2 "OpenShift command line tooling is required but not installed yet... download here:
https://access.redhat.com/downloads/content/290"; exit 1; }
145 command -v oc version --client >/dev/null 2>&1 || { echo >&2 "OpenShift CLI tooling is required but not installed yet... download here (unzip and put on your path): ${OCP_URL}"; exit 1; }
echo "OpenShift command line tools installed... checking for valid version..."
echo
# make some checks first before proceeding.
if [ -r $SRC_DIR/$EAP ] || [ -L $SRC_DIR/$EAP ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment