Fix Jenkinsfile
All checks were successful
Gitea/kapitanbooru-uploader/pipeline/head This commit looks good

This commit is contained in:
Michał Leśniak 2025-03-03 19:00:49 +01:00
parent fa05de8c37
commit 18570e514c

4
Jenkinsfile vendored
View File

@ -20,12 +20,12 @@ pipeline {
stage('Compile Translations') { stage('Compile Translations') {
steps { steps {
sh ''' sh '''#!/bin/sh
find kapitanbooru_uploader/locales -name "*.po" -exec sh -c ' find kapitanbooru_uploader/locales -name "*.po" -exec sh -c '
po="$0" po="$0"
mo="${po%.po}.mo" mo="${po%.po}.mo"
msgfmt "$po" -o "$mo" msgfmt "$po" -o "$mo"
' {} \; ' {} \\;
''' '''
} }
} }