From 84c662c7cd4827b8bb0ec8fac7070d89c86657de Mon Sep 17 00:00:00 2001 From: Mark Kittisopikul Date: Mon, 24 Jan 2022 12:17:59 -0500 Subject: [PATCH] Use Sys.isexecutable in deps.jl --- deps/build.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/build.jl b/deps/build.jl index d4b3634..d356531 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -76,7 +76,7 @@ end if haskey(ENV, "CONDA_JL_CONDA_EXE") # Check to see if CONDA_EXE is an executable file if isfile(CONDA_EXE) - if uperm(CONDA_EXE) & 0x01 > 0 + if Sys.isexecutable(CONDA_EXE) @info "Executable conda located." CONDA_EXE else error("CONDA_JL_CONDA_EXE, $CONDA_EXE, cannot be executed by the current user.")