mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
refactor(hack): use ${BASH_SOURCE[0]} to get script name
This commit is contained in:
parent
a750d8054a
commit
33ce0cbe9c
@ -26,7 +26,7 @@ set -o pipefail
|
|||||||
|
|
||||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
||||||
|
|
||||||
echo "NOTE: $0 has been replaced by 'make update'"
|
echo "NOTE: ${BASH_SOURCE[0]} has been replaced by 'make update'"
|
||||||
echo
|
echo
|
||||||
echo "The equivalent of this invocation is: "
|
echo "The equivalent of this invocation is: "
|
||||||
echo " make update"
|
echo " make update"
|
||||||
|
@ -31,7 +31,7 @@ if [[ -n "${KUBE_VERIFY_GIT_BRANCH:-}" ]]; then
|
|||||||
ARGHELP="BRANCH=${KUBE_VERIFY_GIT_BRANCH}"
|
ARGHELP="BRANCH=${KUBE_VERIFY_GIT_BRANCH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "NOTE: $0 has been replaced by 'make verify'"
|
echo "NOTE: ${BASH_SOURCE[0]} has been replaced by 'make verify'"
|
||||||
echo
|
echo
|
||||||
echo "The equivalent of this invocation is: "
|
echo "The equivalent of this invocation is: "
|
||||||
echo " make verify ${ARGHELP}"
|
echo " make verify ${ARGHELP}"
|
||||||
|
Loading…
Reference in New Issue
Block a user