Name the output according to the Exim version default tip
authorHeiko Schlittermann <hs@schlittermann.de>
Mon, 23 Nov 2015 20:32:11 +0100
changeset 36 7e3ff0a0781d
parent 35 8fa76c432f0c
Name the output according to the Exim version
run
--- a/run	Sat Nov 21 21:31:10 2015 +0100
+++ b/run	Mon Nov 23 20:32:11 2015 +0100
@@ -9,10 +9,10 @@
     platforms=$(find platforms -mindepth 1 -maxdepth 1 -type d)
 fi
 
-out=1
-
 for platform in $platforms; do
     system=$(basename $platform)
+    out=out-$(docker run --entrypoint git eximtest/$system describe --tags --dirty=+)
+    mkdir -p "$out"
     docker run --hostname foo.site -i -t eximtest/$system -CONTINUE "$@" \
-	|& { test "$out" && mkdir -p out && tee out/log.$system || cat; }
+	|& tee "$out/log.$system"
 done