configureCargoVendoredDepsHook: tweak logging

* Make it more obvious exactly which file is being used for vendoring
  (when a manifest is found) instead of just printing out the parent
  directory
This commit is contained in:
Ivan Petkov 2022-02-06 17:17:47 -08:00
parent 1ab0cad98c
commit f0612a9940
No known key found for this signature in database
GPG Key ID: BB6F9EFC065832B6

View File

@ -9,7 +9,7 @@ configureCargoVendoredDepsHook() {
# doing and has its own source replacement going on, it can happily
# ignore the changes we are trying to make!
if [[ -f "${vendoredDir}/config.toml" ]]; then
echo using config.toml manifest from vendored directory ${vendoredDir}
echo will append ${cargoConfig} with contents of ${vendoredDir}/config.toml
cat "${vendoredDir}/config.toml" >>"${cargoConfig}"
return
fi