mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-25 12:05:32 +03:00
Fix lib version extraction in dependency_age.sh
This commit is contained in:
parent
42c272669f
commit
59026938ed
@ -36,7 +36,7 @@ for package in packages/* ; do
|
||||
((exit_code++))
|
||||
fi
|
||||
|
||||
done < <(sed -n "/dependencies\]/,/^$/p" "${package}/Cargo.toml" | grep --extended-regexp --invert-match "\[|path|^$" | tr -d '" ' | tr '=' ' ')
|
||||
done < <(sed -n "/dependencies\]/,/^$/p" "${package}/Cargo.toml" | grep --extended-regexp --invert-match "^\[|path|^$" | cut --delimiter ',' --field 1 | sed "s/version//g" | tr -d '"{=' | tr -s ' ')
|
||||
done
|
||||
|
||||
if [ "$1" != "--update" ] && [ "${exit_code}" -gt 0 ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user