Skip to content

Commit

Permalink
small fixes to translation update script
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Feb 20, 2013
1 parent 4536cac commit 5da835c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/updateLanguageFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ git push origin $GitBranchName > /dev/null 2>&1
################################
# Fetch package from oTrance
#
read -p -s "Please provide the OTrance password for 'downloaduser'? " OTrancePassword
read -s -p "Please provide the OTrance password for 'downloaduser'? " OTrancePassword

# download package
echo "Starting to fetch latest language pack"
Expand Down Expand Up @@ -186,7 +186,7 @@ while true; do
-u $username \
--data "{\"title\":\"automatic translation update\",\"body\":\"autogenerated translation update out of $downloadfile\",\"head\":\"$GitBranchName\",\"base\":\"master\"}" \
-H 'Accept: application/json' \
https://api.github.com/repos/sgiehl/piwik/pulls`);
https://api.github.com/repos/piwik/piwik/pulls`);

if [ $returnCode -eq 401 ]; then
echo "Pull request failed. Bad credentials... Please try again"
Expand Down

0 comments on commit 5da835c

Please sign in to comment.