fix gettext sanitization
authorIan Lance Taylor <ian@airs.com>
Wed, 6 May 1998 18:15:00 +0000 (18:15 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 6 May 1998 18:15:00 +0000 (18:15 +0000)
bfd/.Sanitize
opcodes/.Sanitize

index 24ac3ed5672a51c4274c2df96fb84fa641c2123b..baeed4e566c84375adb10ed325afcc257f446aa0 100644 (file)
@@ -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
index 437088621721ca3c379150cbaef5f80f8644a065..e970f0ee47e20c578c44eccbd56c0603ecafb24d 100644 (file)
@@ -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.
This page took 0.025939 seconds and 4 git commands to generate.