From: Tom Tromey Date: Thu, 23 Apr 1998 05:17:30 +0000 (+0000) Subject: If xgettext fails, make Sanitize fail X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;ds=sidebyside;h=d6f3da9bc48eb26bd5ac8fe2386f01d849af76b4;p=binutils-gdb.git If xgettext fails, make Sanitize fail --- diff --git a/bfd/.Sanitize b/bfd/.Sanitize index cc041872a4a..a4f153619a0 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 eac10d5fcec..244f8b44410 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 4760fad1805..c7c9f31c2ad 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 8dd15e503dd..ac1ec54091a 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 b3deef464c8..91b8d3c1cf9 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