mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Merge pull request #412 from ggtools/master
Fixed SCRIPT_DIR computation when CDPATH is set.
This commit is contained in:
commit
56735fe2ec
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ set -eu
|
|||
set -o pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
SCRIPT_DIR=$(cd $(dirname $0); pwd)
|
||||
SCRIPT_DIR=$(CDPATH="" cd $(dirname $0); pwd)
|
||||
|
||||
INSTANCE_PREFIX=$1
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
# exit on any error
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR=$(cd $(dirname $0); pwd)
|
||||
SCRIPT_DIR=$(CDPATH="" cd $(dirname $0); pwd)
|
||||
|
||||
source $SCRIPT_DIR/config.sh
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue