]> git.proxmox.com Git - dh-cargo.git/commitdiff
Fix version typo
authorXimin Luo <infinity0@debian.org>
Thu, 7 Jun 2018 04:13:51 +0000 (21:13 -0700)
committerXimin Luo <infinity0@debian.org>
Thu, 7 Jun 2018 04:13:51 +0000 (21:13 -0700)
cargo.pm

index 4755cc31966d7eb43bee468558a866d35bbd85b6..7bddb72aec057af063b1815af4830206eb643f3b 100644 (file)
--- a/cargo.pm
+++ b/cargo.pm
@@ -24,7 +24,7 @@ sub cargo_version {
     local $/;
     my $json = JSON::PP->new;
     my $manifest = $json->decode(<F>);
-    return %{@{%{$manifest}{'packages'}}[0]}{'version'} . "\n";
+    return %{@{%{$manifest}{'packages'}}[0]}{'version'} . "";
 }
 
 sub deb_host_rust_type {