Skip to content

Commit

Permalink
fix: Check msgfmt status in init-container.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
darcywong00 committed Nov 29, 2024
1 parent 2196be2 commit 369a7a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/init-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ for filename in `find . -type f -name "*.po"`; do
# Remove the .po extension
base_name=`echo ${filename} | sed 's/\.[^.]*$//'`
msgfmt "${base_name}.po" --output-file="${base_name}".mo
retVal=$?
if [ ${retVal} -ne 0 ]; then
exit 1
fi
done

cd ../../../../

0 comments on commit 369a7a3

Please sign in to comment.