From: Ian Lance Taylor Date: Wed, 6 May 1998 18:15:00 +0000 (+0000) Subject: fix gettext sanitization X-Git-Tag: gdb-4_18~2316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2400a02de20cd3dfb9d4c3367622bc11a41d780;p=external%2Fbinutils.git fix gettext sanitization --- diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 24ac3ed..baeed4e 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -636,6 +636,6 @@ if [ -n "${safe}" -a ! -f po/.Recover/bfd.pot ]; then mv po/bfd.pot po/.Recover fi # If this fails, Sanitization must fail. -xgettext -c -k _ -k N_ -f po/POTFILES.in -o po/bfd.pot || exit 1 +xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/bfd.pot || exit 1 # eof diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 4370886..e970f0e 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -493,7 +493,7 @@ if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then mv po/POTFILES.in po/.Recover fi -'\ls -1 *.[ch] *.in' | sed -e 's,^\./,,' > po/POTFILES.in +ls -1 *.[ch] cg*.in 2>/dev/null | sed -e 's,^\./,,' > po/POTFILES.in if [ -n "${safe}" -a ! -f po/.Recover/opcodes.pot ]; then if [ -n "${verbose}" ]; then @@ -503,6 +503,6 @@ if [ -n "${safe}" -a ! -f po/.Recover/opcodes.pot ]; then fi # If this fails, Sanitization must fail. -xgettext -k_ -kN_ -C `cat po/POTFILES.in` -o po/opcodes.pot || exit 1 +xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/opcodes.pot || exit 1 # End of file.