Skip to content

Commit

Permalink
Use Sys.isexecutable in deps.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Jan 24, 2022
1 parent 2c723b7 commit 84c662c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 84c662c

Please sign in to comment.