From 60f5e2feaf56a4239587af65c890f675775f1663 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sun, 10 Jun 2018 02:01:24 -0700 Subject: [PATCH] ktmpl: use `cargo install --prefix` --- Formula/ktmpl.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/ktmpl.rb b/Formula/ktmpl.rb index c9eec0fcd6..13f06529d1 100644 --- a/Formula/ktmpl.rb +++ b/Formula/ktmpl.rb @@ -15,8 +15,7 @@ class Ktmpl < Formula depends_on "rust" => :build def install - system "cargo", "build", "--release" - bin.install "target/release/ktmpl" + system "cargo", "install", "--root", prefix end test do