Skip to content
Snippets Groups Projects
Commit 586b66fb authored by Tom Robinson's avatar Tom Robinson
Browse files

Warn if xgettext not installed

parent af681710
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,12 @@ if [ -d "/usr/local/opt/gettext/bin" ]; then
export PATH="/usr/local/opt/gettext/bin:$PATH"
fi
# check xgettext is installed
if ! command -v xgettext > /dev/null; then
echo 'Please install the "xgettext" command (e.x. `brew install gettext`)'
exit 1
fi
POT_NAME="locales/metabase.pot"
POT_BACKEND_NAME="locales/metabase-backend.pot"
POT_FRONTEND_NAME="locales/metabase-frontend.pot"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment