chiark / gitweb /
Add a comment regarding toml manipulation
[nailing-cargo.git] / nailing-cargo
index 6f9b94a66e108bc9ec913210af0ed018a303ac82..e04c6a585f8755a2c56ad6008b30cb8ba7f81f8f 100755 (executable)
@@ -546,7 +546,7 @@ sub calculate () {
        my $info = $deps->{$p};
        next unless defined $info;
        next if $packagemap{$p}[1] eq $mf_org_subdir;
-       $deps->{$p} = $info = { } unless ref $info;
+       $deps->{$p} = $info = { } unless ref $info; # was just version
        my $oldpath = $info->{path};
        delete $info->{version};
        my $newpath = $worksphere.'/'.$packagemap{$p}[0];