diff options
author | Joas Schilling <coding@schilljs.com> | 2022-09-12 09:04:45 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-09-12 09:04:45 +0300 |
commit | 8e77970f903ba489218e3d58e9dd514ef1db017c (patch) | |
tree | e77969a3cb7d265585de625fafa7afe23aa92d7e /translations-app | |
parent | d16fc5de11ec72d5056ddf94590d0ee185769167 (diff) |
Fix leading space
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'translations-app')
-rwxr-xr-x | translations-app/handleAppTranslations.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translations-app/handleAppTranslations.sh b/translations-app/handleAppTranslations.sh index 59c5bee..4ddaa3c 100755 --- a/translations-app/handleAppTranslations.sh +++ b/translations-app/handleAppTranslations.sh @@ -18,7 +18,7 @@ fi APP_ID=$(grep -oE '<id>.*</id>' appinfo/info.xml | head --lines 1 | sed -E 's/<id>(.*)<\/id>/\1/') RESOURCE_ID=$(grep -oE '\[nextcloud\..*\]' .tx/config | sed -E 's/\[nextcloud.(.*)\]/\1/') -SOURCE_FILE=$( grep -oE '^source_file\s*=\s*(.+)$' | sed -E 's/source_file\s*=\s*(.+)/\1/') +SOURCE_FILE=$(grep -oE '^source_file\s*=\s*(.+)$' | sed -E 's/source_file\s*=\s*(.+)/\1/') if [ "$RESOURCE_ID" = "MYAPP" ]; then echo "Invalid transifex configuration file .tx/config (translating MYAPP instead of real value)" |