Skip to content

Commit 4957792

Browse files
committed
Add submodule update and temporarily remove locale check.
1 parent 2902872 commit 4957792

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

makexpi.sh

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,12 @@ if [ -n "$1" ] && [ "$2" != "--no-recurse" ] ; then
3434
# Ensure a clean build.
3535
git clean -fdx
3636

37+
git submodule init
38+
git submodule update
3739
# Use the version of the build script that was current when that
3840
# tag/release/branch was made.
3941
./makexpi.sh $1 --no-recurse || exit 1
4042

41-
# Check that all the string present in the English entities file are present in
42-
# each other locale we use. A missing entity causes a nasty error at startup.
43-
# Note that we only make this check when doing tagged builds, since otherwise
44-
# the check would fail anytime someone adds a new string in the entities file,
45-
# before it is included in Transifex. Once the new string is in the master
46-
# branch, Transifex will automatically fill it in with the default English
47-
# value in all the other locales.
48-
if bash utils/compare-locales.sh pkg/$XPI_NAME.xpi >&2
49-
then
50-
echo Validation of included locales completed. >&2
51-
else
52-
die "Validation of locales failed."
53-
fi
54-
5543
# The fact that the above works even when the thing you are building predates
5644
# support for --no-recurse in this script is (1) non-intuitive; (2) crazy; and (3)
5745
# involves two pristine checkouts of $1 within each other

0 commit comments

Comments
 (0)