lint-version-change: correctly print multiline variables
This commit is contained in:
parent
28c485ecfc
commit
e6a34da6d1
@ -43,7 +43,10 @@ show_template() {
|
|||||||
|
|
||||||
show_template_var() {
|
show_template_var() {
|
||||||
rev="$1" var="$2"
|
rev="$1" var="$2"
|
||||||
show_template "$rev" | grep -Po '^'${var}'=\K.*'
|
(
|
||||||
|
show_template "$rev"
|
||||||
|
printf '%s\n' "printf '%s\\n' \"\$${var}\""
|
||||||
|
) | bash
|
||||||
}
|
}
|
||||||
|
|
||||||
revision_reset() {
|
revision_reset() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user