Skip to content

WSL/Windows/Git Bash/Cygwin confusion #19

@axmmisaka

Description

@axmmisaka

Some issues in the current scripts:

  1. WSL is Linux. If running this script under WSL, it should be the same as running on any other Linux distro, like Ubuntu. It makes people confused to mix reference to WSL and Windows.

    installation/install.sh

    Lines 53 to 54 in 819ce99

    echo " - Installing POSIX-compatible tools for WSL"
    echo " => PowerShell scripts available at https://github.com/lf-lang/lingua-franca/releases"

    (We are installing Windows, not WSL tools; powershell is cross-platform, but used extensively on Windows; however here we are using bash )
  2. windows-latest on GH Actions uses Git bash as bash. Git bash has $OSTYPE=msys
  3. There is another famous Unix-like environment on Windows, Cygwin, with $OSTYPE=cygwin. We don't support it at all.
  4. lfc uses powershell on Windows. The current way of creating bash script will simply fail under powershell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions