From 3e29961fa3ec2c1c2d7e3662e68a946f88a309b7 Mon Sep 17 00:00:00 2001 From: Istio Automation Date: Wed, 5 Aug 2020 12:11:50 -0700 Subject: [PATCH] Automator: update common-files@master in istio/istio.io@master (#7875) --- common/.commonfiles.sha | 2 +- common/scripts/gobuild.sh | 2 +- common/scripts/setup_env.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/.commonfiles.sha b/common/.commonfiles.sha index 93ed95c7c4..d979f82312 100644 --- a/common/.commonfiles.sha +++ b/common/.commonfiles.sha @@ -1 +1 @@ -cbb189c08df5b73559cdf84fe246ff2a9192ce39 +8c6a3a43e2c984c4e822978feb0cbad194454430 diff --git a/common/scripts/gobuild.sh b/common/scripts/gobuild.sh index 17b66bd7d5..97e5887557 100755 --- a/common/scripts/gobuild.sh +++ b/common/scripts/gobuild.sh @@ -86,6 +86,6 @@ fi time GOOS=${BUILD_GOOS} GOARCH=${BUILD_GOARCH} ${GOBINARY} build \ ${V} "${GOBUILDFLAGS_ARRAY[@]}" ${GCFLAGS:+-gcflags "${GCFLAGS}"} \ -o "${OUT}" \ - ${OPTIMIZATION_FLAGS} \ + "${OPTIMIZATION_FLAGS}" \ -pkgdir="${GOPKG}/${BUILD_GOOS}_${BUILD_GOARCH}" \ -ldflags "${LDFLAGS} ${LD_EXTRAFLAGS}" "${@}" diff --git a/common/scripts/setup_env.sh b/common/scripts/setup_env.sh index 3a61b046ed..5fe384aa57 100755 --- a/common/scripts/setup_env.sh +++ b/common/scripts/setup_env.sh @@ -69,7 +69,7 @@ export UID DOCKER_GID=$(grep '^docker:' /etc/group | cut -f3 -d:) export DOCKER_GID -TIMEZONE=$(readlink $readlink_flags /etc/localtime | sed -e 's/^.*zoneinfo\///') +TIMEZONE=$(readlink "$readlink_flags" /etc/localtime | sed -e 's/^.*zoneinfo\///') export TIMEZONE export TARGET_OUT="${TARGET_OUT:-$(pwd)/out/${TARGET_OS}_${TARGET_ARCH}}"