From 642a1f464be38d7c4ca03c5c6239183ec9f19901 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 30 May 2019 16:34:28 +0300 Subject: [PATCH] [validation] docker: Fix manifest push wildcard The `make -C docker/*/. something` is expanded to `make -C docker/firstsubdir/. docker/secondsubdir/. something`, which leads to `make` interpreting the second directory as a target name instead of running in that directory. Switch to an explicit sh for loop to avoid this. Signed-off-by: Alexandru Avadanii Change-Id: I7ae64f37b27079994c150b7d98af683d89b5c173 --- jjb/validation/validation-docker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/validation/validation-docker.yaml b/jjb/validation/validation-docker.yaml index 1a8aaa9..ae3d0d4 100644 --- a/jjb/validation/validation-docker.yaml +++ b/jjb/validation/validation-docker.yaml @@ -155,7 +155,7 @@ settings-file: '{mvn-settings}' - shell: | #!/bin/bash -ex - make -C docker/*/. .push_manifest + for sd in docker/*/.; do make -C $sd .push_manifest; done # parameter macro - parameter: -- 2.16.6