mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Fix jq detection (tested, works)
This commit is contained in:
parent
49c25a4e28
commit
a446467848
@ -22,9 +22,6 @@
|
||||
ALREADY_UP=${1:-0}
|
||||
LEAVE_UP=${2:-0}
|
||||
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
HAVE_JQ=$(which jq)
|
||||
if [[ -z ${HAVE_JQ} ]]; then
|
||||
echo "Please install jq, e.g.: 'sudo apt-get install jq' or, "
|
||||
@ -32,6 +29,9 @@ if [[ -z ${HAVE_JQ} ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
# Use testing config
|
||||
export KUBE_CONFIG_FILE="config-test.sh"
|
||||
export KUBE_REPO_ROOT="$(dirname $0)/.."
|
||||
|
Loading…
Reference in New Issue
Block a user