fetch-cargo-deps: add debug output

... so that we can find out why there are sporadic hash mismatches.
This commit is contained in:
Ricardo M. Correia 2015-11-02 14:50:14 +01:00
parent 2ede3e6ddd
commit 2389a707af

View File

@ -172,3 +172,8 @@ done)
# Remove unneeded outputs
[[ ! -d $out/registry/src ]] || rm -rf $out/registry/src
[[ ! -d $out/git/checkouts ]] || rm -rf $out/git/checkouts
# XXX: provide some debugging output to see find out why we are seeing
# sporadic hash mismatches
find $out ! -type f
find $out -type f -exec sha256sum {} +