Commit 7aaff362 authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2345 from danielcbaldwin/krypton_fixes

fixes #2339 where the cd into the extracted cargo directory is lost h…
parents 7601e1a5 f62f2987
......@@ -28,8 +28,10 @@ class Kr < Package
system "curl -Ls https://github.com/koute/cargo-web/archive/#{cargo_web_version}.zip -o cargo-web.zip"
abort "Checksum mismatch. :/ Try again.".lightred unless Digest::SHA256.hexdigest( File.read("cargo-web.zip") ) == "#{cargo_web_sha256}"
system "unzip cargo-web.zip && cd cargo-web-#{cargo_web_version}"
system "cargo build --release && cargo install"
system "unzip cargo-web.zip"
FileUtils.cd("cargo-web-#{cargo_web_version}") do
system "cargo build --release && cargo install"
end
system "mkdir -p #{Dir.pwd}/go/src"
system "go get github.com/kryptco/kr"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment