If xgettext fails, make Sanitize fail
This commit is contained in:
parent
ecb3e4a19d
commit
d6f3da9bc4
5 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue