From d6f3da9bc48eb26bd5ac8fe2386f01d849af76b4 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 23 Apr 1998 05:17:30 +0000 Subject: [PATCH] If xgettext fails, make Sanitize fail --- bfd/.Sanitize | 3 ++- binutils/.Sanitize | 4 ++-- gas/.Sanitize | 3 ++- gprof/.Sanitize | 3 ++- ld/.Sanitize | 4 ++-- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/bfd/.Sanitize b/bfd/.Sanitize index cc04187..a4f1536 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -635,6 +635,7 @@ if [ -n "${safe}" -a ! -f po/.Recover/bfd.pot ]; then fi mv po/bfd.pot po/.Recover fi -xgettext `cat po/POTFILES.in` -o po/bfd.pot +# If this fails, Sanitization must fail. +xgettext `cat po/POTFILES.in` -o po/bfd.pot || exit 1 # eof diff --git a/binutils/.Sanitize b/binutils/.Sanitize index eac10d5..244f8b4 100644 --- a/binutils/.Sanitize +++ b/binutils/.Sanitize @@ -142,7 +142,7 @@ if [ -n "${safe}" -a ! -f po/.Recover/binutils.pot ]; then fi mv po/binutils.pot po/.Recover fi -xgettext `cat po/POTFILES.in` -o po/binutils.pot - +# If this fails, Sanitization must fail. +xgettext `cat po/POTFILES.in` -o po/binutils.pot || exit 1 # eof diff --git a/gas/.Sanitize b/gas/.Sanitize index 4760fad..c7c9f31 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -461,6 +461,7 @@ if [ -n "${safe}" -a ! -f po/.Recover/gas.pot ]; then fi mv po/gas.pot po/.Recover fi -xgettext `cat po/POTFILES.in` -o po/gas.pot +# If this fails, Sanitization must fail. +xgettext `cat po/POTFILES.in` -o po/gas.pot || exit 1 # eof diff --git a/gprof/.Sanitize b/gprof/.Sanitize index 8dd15e5..ac1ec54 100644 --- a/gprof/.Sanitize +++ b/gprof/.Sanitize @@ -117,7 +117,8 @@ if [ -n "${safe}" -a ! -f po/.Recover/gprof.pot ]; then fi mv po/gprof.pot po/.Recover fi -xgettext `cat po/POTFILES.in` -o po/gprof.pot +# If this fails, Sanitization must fail. +xgettext `cat po/POTFILES.in` -o po/gprof.pot || exit 1 # eof diff --git a/ld/.Sanitize b/ld/.Sanitize index b3deef46..91b8d3c 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -319,6 +319,6 @@ if [ -n "${safe}" -a ! -f po/.Recover/ld.pot ]; then fi mv po/ld.pot po/.Recover fi -xgettext `cat po/POTFILES.in` -o po/ld.pot - +# If this fails, Sanitization must fail. +xgettext `cat po/POTFILES.in` -o po/ld.pot || exit 1 # eof -- 2.7.4