From d667101168ff881dc689a4f04f726700604001a5 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Wed, 31 Jul 2024 19:00:39 +0100 Subject: [PATCH] repo: Make it work externally --- examples.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples.bzl b/examples.bzl index db6dd90..9cbd5a0 100644 --- a/examples.bzl +++ b/examples.bzl @@ -15,7 +15,7 @@ def envoy_example(name, shared = ":shared_files", common_fun = ":verify-common.s SHARED=$$(echo $$SHARED_PATHS | cut -d/ -f1) # This is a bit hacky and may not work in all bazel situations, but works for now if [[ $$SHARED == "external" ]]; then - SHARED=$$(echo $$SHARED_PATHS | cut -d/ -f-2) + SHARED=$$(echo $$SHARED_PATHS | cut -d/ -f-3) fi echo "%s" > $@ echo "%s" >> $@