mirror of
git://sourceware.org/git/glibc.git
synced 2026-09-08 23:58:31 +08:00
intl: create correct directory in tst-translit.sh
Depending on parallelism, it's possible for domaindir/existing-locale/LC_MESSAGES to have not been created yet: ``` msgfmt: error while opening "build/intl/domaindir/existing-locale/LC_MESSAGES/translit.mo" for writing: No such file or directory make[2]: Leaving directory 'src/intl' FAIL: intl/tst-translit original exit status 1 cat: build/intl/tst-translit.out: No such file or directory make[1]: *** [Makefile:944: test] Error 1 ``` If so, the following msgfmt call will fail. Fix the typo in the mkdir call. Arguably we should split these test preparations to avoid producing binaries we know won't PASS because their support data is missing. Reviewed-by: Collin Funk <collin.funk1@gmail.com>
This commit is contained in:
@@ -24,7 +24,7 @@ test_program_prefix=$2
|
|||||||
objpfx=$3
|
objpfx=$3
|
||||||
|
|
||||||
# Create the locale directories.
|
# Create the locale directories.
|
||||||
mkdir -p ${objpfx}localedir/existing-locale/LC_MESSAGES
|
mkdir -p ${objpfx}domaindir/existing-locale/LC_MESSAGES
|
||||||
|
|
||||||
msgfmt -o ${objpfx}domaindir/existing-locale/LC_MESSAGES/translit.mo \
|
msgfmt -o ${objpfx}domaindir/existing-locale/LC_MESSAGES/translit.mo \
|
||||||
translit.po
|
translit.po
|
||||||
|
|||||||
Reference in New Issue
Block a user