ci: fix broken shell syntax (#1565)

Ref #1562
This commit is contained in:
Jos Ahrens
2018-06-16 12:51:41 +02:00
committed by Alexey Sokolov
parent 27f4dce638
commit d07674b089
+1 -1
View File
@@ -54,7 +54,7 @@ timestamps {
sh 'git config user.email jenkins@znc.in'
sh 'git status'
def gitStatusShort = sh 'git status --short'
def modifiedLocales = sh 'git status --short | grep -o -E "[^ ]+\.po$" | sed "s/.po//g" | grep -o -E "[a-z]{2}_[A-Z]{2}$" | sort -u | tr "\n" " " | sed -E "s/ $//"'
def modifiedLocales = sh 'git status --short | grep -o -E "[^ ]+\\.po$" | sed "s/.po//g" | grep -o -E "[a-z]{2}_[A-Z]{2}$" | sort -u | tr "\\n" " " | sed -E "s/ $//"'
sh 'git add .'
try {
sh 'git commit -m "Update translations from Crowdin"'