From 5bae033f07ab505e9892abddc0a357af0b172bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salvador=20Cu=C3=B1at?= Date: Mon, 8 Jan 2024 22:54:22 +0100 Subject: [PATCH] [scripts - docker] Fix build instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Current instruction to get the installer out the container will fail with bash complaining about cp being a binary. Then would fail too because subsurface-installer.exe doesn't exist any more. Proposed instruction should work. Signed-off-by: Salvador Cuñat --- scripts/docker/mxe-build-container/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker/mxe-build-container/instructions.md b/scripts/docker/mxe-build-container/instructions.md index c78edb790..28f2e6c59 100644 --- a/scripts/docker/mxe-build-container/instructions.md +++ b/scripts/docker/mxe-build-container/instructions.md @@ -23,7 +23,7 @@ docker exec -t mybuilder bash subsurface/.github/workflows/scripts/windows-in-co To get the built binary out of the container ``` -docker exec -t mybuilder bash cp /subsurface-installer.exe /win/win32 +docker exec -t mybuilder bash -c "cp /subsurface-*-installer.exe /win/win32" ``` Which will copy the installer into the win32 folder which will be a sibling of the subsurface folder.