If xgettext fails, make Sanitize fail
authorTom Tromey <tromey@redhat.com>
Thu, 23 Apr 1998 05:17:30 +0000 (05:17 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 23 Apr 1998 05:17:30 +0000 (05:17 +0000)
bfd/.Sanitize
binutils/.Sanitize
gas/.Sanitize
gprof/.Sanitize
ld/.Sanitize

index cc04187..a4f1536 100644 (file)
@@ -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
index eac10d5..244f8b4 100644 (file)
@@ -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
index 4760fad..c7c9f31 100644 (file)
@@ -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
index 8dd15e5..ac1ec54 100644 (file)
@@ -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
index b3deef4..91b8d3c 100644 (file)
@@ -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