Skip to content

Commit

Permalink
Fix #47
Browse files Browse the repository at this point in the history
  • Loading branch information
idgserpro committed Aug 1, 2019
1 parent 897096a commit e86b3fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qa.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ input = inline:

I18NDOMAIN="${buildout:package-name}"

if [ -z "$I18NDOMAIN" ]; then
echo "You didn't set buildout:package-name variable in your buildout configuration."
echo "Please add 'package-name = yourdomain.package' to [buildout] section and re-run buildout to use this script."
exit 1
fi

# find the locales dir
LOCALES=`find . -type d | grep ${buildout:package-name} | grep -m 1 "locales"`
SOURCE=`dirname $LOCALES`;
Expand Down

0 comments on commit e86b3fb

Please sign in to comment.