Skip to content

Commit

Permalink
Merge pull request #376 from jayschwa/patch-2
Browse files Browse the repository at this point in the history
Fix #375: no method matching similar(::Dict{Any,Any})
  • Loading branch information
stevengj authored Aug 14, 2018
2 parents d7da10f + e54a818 commit dcb974e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/BinDeps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,7 @@ function lower(s::FileUnpacker,collection)
end
end

function adjust_env(env)
ret = similar(env)
merge!(ret,ENV)
merge!(ret,env) # s.env overrides ENV
ret
end
adjust_env(env) = merge(ENV,env) # s.env overrides ENV

if Compat.Sys.isunix()
function lower(a::MakeTargets,collection)
Expand Down

0 comments on commit dcb974e

Please sign in to comment.