mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -05:00
refactor(hack): use ${BASH_SOURCE[0]} to get script name
This commit is contained in:
parent
a750d8054a
commit
33ce0cbe9c
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ set -o pipefail
|
|||
|
||||
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 "The equivalent of this invocation is: "
|
||||
echo " make update"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ if [[ -n "${KUBE_VERIFY_GIT_BRANCH:-}" ]]; then
|
|||
ARGHELP="BRANCH=${KUBE_VERIFY_GIT_BRANCH}"
|
||||
fi
|
||||
|
||||
echo "NOTE: $0 has been replaced by 'make verify'"
|
||||
echo "NOTE: ${BASH_SOURCE[0]} has been replaced by 'make verify'"
|
||||
echo
|
||||
echo "The equivalent of this invocation is: "
|
||||
echo " make verify ${ARGHELP}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue