]>
git.proxmox.com Git - dh-cargo.git/commitdiff
projects
/
dh-cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72365a1
)
Set install root to /usr, and remove .crates.toml
author
Josh Triplett
<josh@joshtriplett.org>
Wed, 23 Nov 2016 03:54:25 +0000
(19:54 -0800)
committer
Josh Triplett
<josh@joshtriplett.org>
Wed, 23 Nov 2016 03:54:25 +0000
(19:54 -0800)
cargo.pm
patch
|
blob
|
blame
|
history
diff --git
a/cargo.pm
b/cargo.pm
index a18aac79b99bcac8998a7c1f66fa23d021ba8b18..76a74d3165bbf88901110318a4d8838ca9374fe9 100644
(file)
--- a/
cargo.pm
+++ b/
cargo.pm
@@
-95,7
+95,9
@@
sub install {
doit("cp", $this->get_sourcepath("debian/cargo-checksum.json"), "$target/$crate_name/.cargo-checksum.json");
}
if ($this->{binpkg}) {
- doit("cargo", "install", "--root", $this->get_sourcepath("debian/" . $this->{binpkg}));
+ my $target = $this->get_sourcepath("debian/" . $this->{binpkg} . "/usr");
+ doit("cargo", "install", "--root", $target);
+ doit("rm", "$target/.crates.toml");
}
}