1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-29 05:25:51 +00:00

WIP. Moving to WSL1 environment

This commit is contained in:
Frank Halasz
2025-05-28 14:03:13 -07:00
parent 9343f58b17
commit 834a6084c3
5 changed files with 71 additions and 3 deletions

View File

@@ -8,7 +8,12 @@ case "$os" in
*-*-solaris2*) echo sunos5 ;;
alpha-dec-osf1) echo osf1 ;;
*-apple-darwin*) echo darwin ;;
*-*-linux*) echo linux ;;
*-*-linux*)
echo d"${WSL_DISTRO_NAME}"d
echo i"${WSL_INTEROP}"i
if [ -n "${WSL_DISTRO_NAME}" ] && [ -z "${WSL_INTEROP}" ];
then echo wsl1; else echo linux; fi ;;
*-*-openbsd*) echo openbsd ;;
*-*-freebsd*) echo freebsd ;;
*-*-cygwin*) echo cygwin ;;