Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfworsoe committed Jan 7, 2019
1 parent 38abb31 commit d01d431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/liftedfrombindeps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function download_cmd(url::AbstractString, filename::AbstractString)
return `fetch -f $filename $url`
elseif downloadcmd == :powershell
recmkdir(dirname(filename))
return `powershell -file $(joinpath(dirname(abspath(@__FILE__)),"deps","winget.ps0")) $url $filename`
return `powershell -file $(joinpath(dirname(abspath(@__FILE__)),"winget.ps0")) $url $filename`
else
error("No download agent available; install curl, wget, fetch, or powershell.")
end
Expand Down Expand Up @@ -112,7 +112,7 @@ end
end
elseif extension == ".zip"
rm(directory,recursive=true)
return (`powershell -file $(joinpath(dirname(abspath(@__FILE__)),"deps","winunzip.ps1")) $file $directory`)
return (`powershell -file $(joinpath(dirname(abspath(@__FILE__)),"winunzip.ps1")) $file $directory`)
else
error("I don't know how to unpack $file")
end
Expand Down

0 comments on commit d01d431

Please sign in to comment.