Skip to content

WSL: unquoted $PATH value breaks under WSL #17

@nbuwe

Description

@nbuwe

criu/Makefile

Line 252 in daeef8f

$(Q) env -i PATH=$$PATH make CC=$(CC) CFLAGS="$(CFLAGS)" -C lz4 lib lz4

Under WSL PATH may contain Windows directories with spaces in their names. Windows apps installed under C:\Program Files that add themselves to the Windows PATH has their entries visible/inherited on the Linux side as /mnt/c/Program Files/... entries in the Linux PATH.

The value of PATH passed to the env command should be quoted.

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