Update build.sh

This commit is contained in:
Leighton Chen
2023-11-08 15:20:17 -08:00
parent f700461808
commit ca1d6adae1

View File

@ -19,7 +19,7 @@ DISTDIR=dist
for d in exporter/*/ opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/*/ propagator/*/ resource/*/ sdk-extension/*/ util/*/ ; do
(
# Skip the build step if the directory name is "opentelemetry-instrumentation-aiohttp-server"
if [[ "$d" == *"opentelemetry-instrumentation-aiohttp-server"* ]]; then
if [[ "$d" == *"instrumentation/opentelemetry-instrumentation-aiohttp-server/"* ]]; then
echo "Skipping build for $d"
else
echo "building $d"