From 5cc59727ee02c50426630274ee5a9de99f329ef8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 6 Apr 2005 02:18:44 +0000 Subject: [BZ #592, BZ #821, BZ #822, BZ #825] * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary file and mv it into place. * intl/tst-gettext3.sh: Likewise. * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts are up to date in srcdir. Touch all configure scripts after export. [BZ #592] [BZ #825] [BZ #825] [BZ #592] [BZ #592] [BZ #592] [BZ #592] [BZ #822] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] --- intl/tst-codeset.sh | 9 ++++----- intl/tst-gettext3.sh | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'intl') diff --git a/intl/tst-codeset.sh b/intl/tst-codeset.sh index 3d9b955..8b05216 100644 --- a/intl/tst-codeset.sh +++ b/intl/tst-codeset.sh @@ -1,6 +1,6 @@ #! /bin/sh # Test of bind_textdomain_codeset. -# Copyright (C) 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. # This file is part of the GNU C Library. # @@ -26,12 +26,11 @@ LC_ALL=C export LC_ALL # Generate the test data. -test -d ${objpfx}domaindir || mkdir ${objpfx}domaindir +msgfmt -o ${objpfx}codeset.mo.$$ tstcodeset.po || exit # Create the domain directories. -test -d ${objpfx}domaindir/de_DE || mkdir ${objpfx}domaindir/de_DE -test -d ${objpfx}domaindir/de_DE/LC_MESSAGES || mkdir ${objpfx}domaindir/de_DE/LC_MESSAGES +mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES # Populate them. -msgfmt -o ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo tstcodeset.po +mv -f ${objpfx}codeset.mo.$$ ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo GCONV_PATH=${common_objpfx}iconvdata export GCONV_PATH diff --git a/intl/tst-gettext3.sh b/intl/tst-gettext3.sh index 7bd977c..1855768 100644 --- a/intl/tst-gettext3.sh +++ b/intl/tst-gettext3.sh @@ -27,12 +27,11 @@ LC_ALL=C export LC_ALL # Generate the test data. -test -d ${objpfx}domaindir || mkdir ${objpfx}domaindir +msgfmt -o ${objpfx}codeset.mo.$$ tstcodeset.po || exit # Create the domain directories. -test -d ${objpfx}domaindir/de_DE || mkdir ${objpfx}domaindir/de_DE -test -d ${objpfx}domaindir/de_DE/LC_MESSAGES || mkdir ${objpfx}domaindir/de_DE/LC_MESSAGES +mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES # Populate them. -msgfmt -o ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo tstcodeset.po +mv -f ${objpfx}codeset.mo.$$ ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo GCONV_PATH=${common_objpfx}iconvdata export GCONV_PATH -- cgit v1.1