diff --git a/internal-lab-setup-assets/Makefile b/internal-lab-setup-assets/Makefile index 255306b..f42388f 100644 --- a/internal-lab-setup-assets/Makefile +++ b/internal-lab-setup-assets/Makefile @@ -58,7 +58,7 @@ poetry: fi test: poetry - XRD_LAB_IPS=containerlab inspect --all | grep "cisco" | rev | cut -d ' ' -f8 | rev | sort -V; \ + XRD_LAB_IPS=$$(containerlab inspect --all | grep "cisco" | rev | cut -d ' ' -f8 | rev | sort -V); \ echo "$${XRD_LAB_IPS}"; \ if [ -z "$${XRD_LAB_IPS}" ]; then echo "No labs found." && exit 0; fi; \ cd tester; \