Skip to content

Commit

Permalink
Use absolute name of PWD to match Bazel's behavior (istio#1087)
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Use absolute name of PWD to match Bazel's behavior

Fixes breakage of upload-istioctl when the build directory is a symlink.

**Release note**:
```release-note
Fix failure on cross-compiled istioctl builds when path contains a symlink
```
  • Loading branch information
rvkubiak authored and istio-merge-robot committed Aug 21, 2017
1 parent 4be3f72 commit 5871500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilot/bin/upload-istioctl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -o errexit
set -o nounset
set -o pipefail

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
DIR_NAME="$(basename ${ROOT})"
BIN_DIR='.'
BUCKET_PATH=''
Expand Down

0 comments on commit 5871500

Please sign in to comment.