]> git.proxmox.com Git - dh-cargo.git/commitdiff
Improve needlessly-antagonistic comment and clarify the detail.
authorChris Lamb <lamby@debian.org>
Mon, 20 Apr 2020 11:05:54 +0000 (12:05 +0100)
committerChris Lamb <lamby@debian.org>
Mon, 20 Apr 2020 11:05:54 +0000 (12:05 +0100)
cargo.pm

index 013785e8b1f039e43e1d9fc784d3cb6bf8dd5f98..107e9eec28618916adfd73423cb83ec754cbc31a 100644 (file)
--- a/cargo.pm
+++ b/cargo.pm
@@ -157,7 +157,7 @@ sub install {
         doit("cp", "--parents", "-at", $target, @sources);
         doit("rm", "-rf", "$target/target");
         doit("cp", $this->get_sourcepath("debian/cargo-checksum.json"), "$target/.cargo-checksum.json");
-        # work around some stupid ftpmaster rule about files with old dates.
+        # prevent an ftpmaster auto-reject regarding files with old dates.
         doit("touch", "-d@" . $ENV{SOURCE_DATE_EPOCH}, "$target/Cargo.toml");
     }
     foreach my $pkg (@{$this->{featurepkg}}) {