From 47811f79848d6efd9dda8b3e8e4286dc3045423f Mon Sep 17 00:00:00 2001 From: Diego Alonso Marquez Palacios Date: Mon, 18 Sep 2023 13:24:22 -0400 Subject: [PATCH] fix: showcase update goal fix (#2002) Fixes issues when running `mvn compile -Pupdate` in showcase --- showcase/scripts/generate_components.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/showcase/scripts/generate_components.sh b/showcase/scripts/generate_components.sh index 740d8b3caf..86d176c8b4 100755 --- a/showcase/scripts/generate_components.sh +++ b/showcase/scripts/generate_components.sh @@ -24,17 +24,17 @@ if [ "${replace}" == "true" ]; then # replace contents of gapic library gapic_component_dir="${showcase_folder}/gapic-showcase/src/main" rm -rdf "${gapic_component_dir}/*" - cp -r "${SCRIPT_DIR}/showcase-output/gapic-showcase-output/src/main"/* "${gapic_component_dir}/" + cp -r "${SCRIPT_DIR}/output/showcase-output/gapic-showcase-output/src/main"/* "${gapic_component_dir}/" # replace contents of proto library proto_component_dir="${showcase_folder}/proto-gapic-showcase-v1beta1/src/main" rm -rdf "${proto_component_dir}/*" - cp -r "${SCRIPT_DIR}/showcase-output/proto-showcase-output/src/main"/* "${proto_component_dir}/" + cp -r "${SCRIPT_DIR}/output/showcase-output/proto-showcase-output/src/main"/* "${proto_component_dir}/" # replace contents of grpc library grpc_component_dir="${showcase_folder}/grpc-gapic-showcase-v1beta1/src/main" rm -rdf "${grpc_component_dir}/*" - cp -r "${SCRIPT_DIR}/showcase-output/grpc-showcase-output/src/main"/* "${grpc_component_dir}/" + cp -r "${SCRIPT_DIR}/output/showcase-output/grpc-showcase-output/src/main"/* "${grpc_component_dir}/" fi if [ "${perform_cleanup}" == 'true' ];then