parent
ba58589656
commit
7bf1720a76
|
@ -13,9 +13,11 @@ parsed_update_args="$(
|
||||||
package=$(echo "$parsed_update_args" | awk '{print $2}' | grep -o "^[^:]*")
|
package=$(echo "$parsed_update_args" | awk '{print $2}' | grep -o "^[^:]*")
|
||||||
if [[ -n $parsed_update_args ]]; then
|
if [[ -n $parsed_update_args ]]; then
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
for lock in $(git grep --files-with-matches --fixed-strings "$package" :**/Cargo.lock); do
|
||||||
_ scripts/cargo-for-all-lock-files.sh \
|
_ scripts/cargo-for-all-lock-files.sh \
|
||||||
"$(git grep --files-with-matches "$package" :**/Cargo.lock)" -- \
|
"$lock" -- \
|
||||||
update $parsed_update_args
|
update $parsed_update_args
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo --- ok
|
echo --- ok
|
||||||
|
|
Loading…
Reference in New Issue