travis-extract-var: correctly escape variables (#10646)
* this is a long comment (just for test on travis)
This commit is contained in:
parent
ed73ea036c
commit
a95cb7e20a
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ print_var()
|
|||
VAR_NAME=$1
|
||||
VAR_VALUE=$2
|
||||
if [ "${VAR_VALUE}" != "" ] ; then
|
||||
echo "${VAR_NAME}=${VAR_VALUE}"
|
||||
printf "%s=%q\n" "${VAR_NAME}" "${VAR_VALUE}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue