Skip to content

Commit

Permalink
gettext: Be specific with the grep regex (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Noël authored Nov 6, 2019
1 parent 279de6f commit bcab430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gettext-template/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if ! git checkout $TRANSLATION_BRANCH; then
fi

# update the translation template and push changes if required
meson build && ninja -C build && ninja -C build $(git ls-files | grep .pot | sed 's/.*\///' | sed 's/.pot/-update-po/')
meson build && ninja -C build && ninja -C build $(git ls-files | grep \.pot$ | sed 's/.*\///' | sed 's/.pot/-update-po/')
echo -e "\n\033[1;32mSuccessfully build the project!\033[0m\n"
python3 /check-diff.py

0 comments on commit bcab430

Please sign in to comment.