travis/transifex: use HEREDOC for initializing config (#5109)
It seems that in recent bash update in CI doesn't correctly interpret the quote string any more.
This commit is contained in:
parent
6d3d9f7a8a
commit
2c0bd0f2a1
@ -1,7 +1,13 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
# Setup RC file for tx
|
# Setup RC file for tx
|
||||||
echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = api\npassword = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc
|
cat << EOF > ~/.transifexrc
|
||||||
|
[https://www.transifex.com]
|
||||||
|
hostname = https://www.transifex.com
|
||||||
|
username = api
|
||||||
|
password = $TRANSIFEX_API_TOKEN
|
||||||
|
EOF
|
||||||
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user