mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-25 20:11:36 +00:00
Fix Dockerfile_maiko so osversion is restored after building the wsl1 lde executables.
This commit is contained in:
7
.github/workflows/Dockerfile_maiko
vendored
7
.github/workflows/Dockerfile_maiko
vendored
@@ -26,9 +26,12 @@ RUN cd ${INSTALL_LOCATION}/bin \
|
|||||||
RUN cd ${INSTALL_LOCATION}/bin \
|
RUN cd ${INSTALL_LOCATION}/bin \
|
||||||
&& arch="$(./machinetype)" \
|
&& arch="$(./machinetype)" \
|
||||||
&& if [ "$arch" = "x86_64" ] || [ "$arch" = "aarch64" ]; then \
|
&& if [ "$arch" = "x86_64" ] || [ "$arch" = "aarch64" ]; then \
|
||||||
echo "#!/bin/sh" > osversion \
|
mv osversion oserversion.hold \
|
||||||
|
&& echo "#!/bin/sh" > osversion \
|
||||||
&& echo "echo wsl1" >> osversion \
|
&& echo "echo wsl1" >> osversion \
|
||||||
&& ./makeright x cleanup \
|
&& ./makeright x cleanup \
|
||||||
&& ./makeright x \
|
&& ./makeright x \
|
||||||
&& ./makeright init; \
|
&& ./makeright init \
|
||||||
|
&& mv osversion.hold osversion \
|
||||||
|
; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user