From 59953c2629a1c2f8a436a9e91256d5b3733edb3c Mon Sep 17 00:00:00 2001 From: Frank Halasz Date: Tue, 3 Jun 2025 19:01:14 -0700 Subject: [PATCH] Fix error is Dockerfile_maiko for wsl1 --- .github/workflows/Dockerfile_maiko | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Dockerfile_maiko b/.github/workflows/Dockerfile_maiko index b7a52b9..37e0cdc 100755 --- a/.github/workflows/Dockerfile_maiko +++ b/.github/workflows/Dockerfile_maiko @@ -23,10 +23,10 @@ RUN cd ${INSTALL_LOCATION}/bin \ ./makeright init; \ fi # Build specially for WSL1 by "fooling" a linux build -RUN arch="$(./machinetype)" \ +RUN cd ${INSTALL_LOCATION}/bin \ + && arch="$(./machinetype)" \ && if [ "$arch" = "x86_64" ] || [ "$arch" = "aarch64" ]; then \ - cd ${INSTALL_LOCATION}/bin \ - && echo "echo #!/bin/sh" > osversion \ + echo "echo #!/bin/sh" > osversion \ && echo "echo wsl1" >> osversion \ && ./makeright x cleanup \ && ./makeright x \