citra-emu
/
citra
Archived
1
0
Fork 0

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:
Weiyi Wang 2020-02-29 13:52:34 -05:00 committed by GitHub
parent 6d3d9f7a8a
commit 2c0bd0f2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,13 @@
#!/bin/bash -e
# 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