From 52c6748e676fc0329911f0413d41b9edacbce7a3 Mon Sep 17 00:00:00 2001 From: Claus Strasburger Date: Thu, 21 Sep 2017 15:19:29 +0200 Subject: [PATCH] fix docker-in-docker copying when not doing CONTINUE=1 --- build-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-docker.sh b/build-docker.sh index 64bb120..e39a3eb 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -71,10 +71,10 @@ else cd /pi-gen; ./build.sh && rsync -av work/*/build.log deploy/" & wait "$!" - $DOCKER rm -v $CONTAINER_NAME fi echo "copying results from deploy/" $DOCKER cp "${CONTAINER_NAME}":/pi-gen/deploy . ls -lah deploy +$DOCKER rm -v $CONTAINER_NAME echo "Done! Your image(s) should be in deploy/"