Skip to content

Commit

Permalink
Add function to get scripts in bin dir according to JuliaLang/IJulia.…
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoegh committed Sep 16, 2015
1 parent 4e39b97 commit 8da7994
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Conda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ using JSON

"Prefix for installation of all the packages."
const PREFIX = abspath(dirname(@__FILE__), "..", "deps", "usr")
@unix_only bindir(package) = joinpath(PREFIX, "bin")
@windows_only bindir(package) = joinpath(PREFIX, "Scripts")

@unix_only const conda = joinpath(PREFIX, "bin", "conda")
@windows_only const conda = joinpath(PREFIX, "Scripts", "conda")
const conda = bindir("conda")

CHANNELS = AbstractString[]
additional_channels() = ["--channel " * channel for channel in CHANNELS]
Expand Down

0 comments on commit 8da7994

Please sign in to comment.