From 0806074d948e03a7d20a6f5952605c8561112c26 Mon Sep 17 00:00:00 2001 From: Aram Price Date: Tue, 11 Aug 2020 14:50:43 -0400 Subject: [PATCH] hack/update-codegen.sh: really fix symlink paths This is totally gonna be it. Signed-off-by: Andrew Keesler --- hack/update-codegen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index e8f6afe0a..9e056a4e9 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -14,7 +14,7 @@ function codegen() { if [[ ${IN_DOCKER:-0} -eq 1 ]]; then # Already in a container ($CODEGEN_IMAGE). mkdir -p "$(dirname /go/src/$BASE_PKG/$PKG)" - test -e "/go/src/$BASE_PKG/$PKG" || ln -s "$ROOT" "/go/src/$BASE_PKG/$PKG" + test -e "/go/src/$BASE_PKG/$PKG" || ln -s "$ROOT/$PKG" "/go/src/$BASE_PKG/$PKG" cd "/go/src/$BASE_PKG/$PKG" /codegen/entrypoint.sh "$@" 2>&1 \ | sed "s|^|$1 ($PKG) > |"