Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

Commit c89d0ad

Browse files
Automator: update common-files@master in istio/api@master (istio#1318)
1 parent f309114 commit c89d0ad

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export BUILD_WITH_CONTAINER ?= 0
3232

3333
ifeq ($(BUILD_WITH_CONTAINER),1)
3434

35-
$(shell $(PWD)/common/scripts/setup_env.sh)
35+
$(shell $(shell pwd)/common/scripts/setup_env.sh)
3636

3737
RUN = ./common/scripts/run.sh
3838

@@ -54,9 +54,9 @@ else
5454
# If we are not in build container, we need a workaround to get environment properly set
5555
# Write to file, then include
5656
$(shell mkdir -p out)
57-
$(shell $(PWD)/common/scripts/setup_env.sh envfile > out/.env)
57+
$(shell $(shell pwd)/common/scripts/setup_env.sh envfile > out/.env)
5858
include out/.env
59-
export out/.env
59+
export
6060

6161
export GOBIN ?= $(GOPATH)/bin
6262
include Makefile.core.mk

common/.commonfiles.sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
70f2f420e00779b4e576825280d572ff1d295b48
1+
4847adb64dd63db27b2ea0dad35054aca5c5c52f

common/scripts/setup_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ export DOCKER_GID
6666
TIMEZONE=$(readlink $readlink_flags /etc/localtime | sed -e 's/^.*zoneinfo\///')
6767
export TIMEZONE
6868

69-
export TARGET_OUT="${TARGET_OUT:-${PWD}/out/${TARGET_OS}_${TARGET_ARCH}}"
70-
export TARGET_OUT_LINUX="${TARGET_OUT_LINUX:-${PWD}/out/linux_amd64}"
69+
export TARGET_OUT="${TARGET_OUT:-$(pwd)/out/${TARGET_OS}_${TARGET_ARCH}}"
70+
export TARGET_OUT_LINUX="${TARGET_OUT_LINUX:-$(pwd)/out/linux_amd64}"
7171

7272
export CONTAINER_TARGET_OUT="${CONTAINER_TARGET_OUT:-/work/out/${TARGET_OS}_${TARGET_ARCH}}"
7373
export CONTAINER_TARGET_OUT_LINUX="${CONTAINER_TARGET_OUT_LINUX:-/work/out/linux_amd64}"

0 commit comments

Comments
 (0)