mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-26 09:08:57 +03:00
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:
parent
1ab0cad98c
commit
f0612a9940
@ -9,7 +9,7 @@ configureCargoVendoredDepsHook() {
|
|||||||
# doing and has its own source replacement going on, it can happily
|
# doing and has its own source replacement going on, it can happily
|
||||||
# ignore the changes we are trying to make!
|
# ignore the changes we are trying to make!
|
||||||
if [[ -f "${vendoredDir}/config.toml" ]]; then
|
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}"
|
cat "${vendoredDir}/config.toml" >>"${cargoConfig}"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user