Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: fix PATH set #45957

Merged
merged 9 commits into from
Jul 22, 2022
Prev Previous commit
Next Next commit
Makefile: fix PATH set on cygwin
There may be spaces in the `PATH`
  • Loading branch information
inkydragon committed Jul 7, 2022
commit 39be1968246f69201d74de02cde8869055fcff77
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ check-whitespace:
ifneq ($(NO_GIT), 1)
@# Append the directory containing the julia we just built to the end of `PATH`,
@# to give us the best chance of being able to run this check.
@PATH=$(PATH):$(shell dirname $(JULIA_EXECUTABLE)) $(JULIAHOME)/contrib/check-whitespace.jl
@PATH="$(PATH):$(shell dirname $(JULIA_EXECUTABLE))" $(JULIAHOME)/contrib/check-whitespace.jl
inkydragon marked this conversation as resolved.
Show resolved Hide resolved
else
$(warn "Skipping whitespace check because git is unavailable")
endif
Expand Down