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
|
||||||
_ scripts/cargo-for-all-lock-files.sh \
|
for lock in $(git grep --files-with-matches --fixed-strings "$package" :**/Cargo.lock); do
|
||||||
"$(git grep --files-with-matches "$package" :**/Cargo.lock)" -- \
|
_ scripts/cargo-for-all-lock-files.sh \
|
||||||
update $parsed_update_args
|
"$lock" -- \
|
||||||
|
update $parsed_update_args
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo --- ok
|
echo --- ok
|
||||||
|
|
Loading…
Reference in New Issue