bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] error message from gettextize


From: Bruno Haible
Subject: [bug-gettext] error message from gettextize
Date: Sun, 04 Dec 2016 13:46:37 +0100
User-agent: KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )

A run of "gettextize -f -n" succeeded but printed a spurious error message:

$ LC_ALL=C gettextize -f -n
Copy file ABOUT-NLS
Copy file build-aux/config.rpath
Not copying intl/ directory.
Copy file po/Makefile.in.in
Copy file po/Makevars.template
/arch/x86_64-linux-gnu/gnu-inst-gettext/0.19.8.1/bin/gettextize: line 766: 
/media/private+free/devel/LIBICONV/libiconv/po/Makevars.template: No such file 
or directory
Copy file po/Rules-quot
Copy file po/boldquot.sed
Copy file po/address@hidden
Copy file po/address@hidden
Copy file po/insert-header.sin
Copy file po/quot.sed
Copy file po/remove-potcdate.sin

Fixed in git:

--- a/gettext-tools/misc/gettextize.in
+++ b/gettext-tools/misc/gettextize.in
@@ -758,7 +758,7 @@ for podir in $podirs; do
         func_linkorcopy Makevars.template 
"$gettext_datadir/po/Makevars.template" "$podir/Makevars.template"
         if test -f "$srcdir/po/Makevars"; then
           LC_ALL=C sed -n -e 's/[      ]*\([A-Za-z0-9_]*\)[    ]*=.*/\1/p' < 
"$srcdir/$podir/Makevars" | LC_ALL=C sort > "$srcdir/$podir/Makevars.tmp1"
-          LC_ALL=C sed -n -e 's/[      ]*\([A-Za-z0-9_]*\)[    ]*=.*/\1/p' < 
"$srcdir/$podir/Makevars.template" | LC_ALL=C sort > 
"$srcdir/$podir/Makevars.tmp2"
+          LC_ALL=C sed -n -e 's/[      ]*\([A-Za-z0-9_]*\)[    ]*=.*/\1/p' < 
"$gettext_datadir/po/Makevars.template" | LC_ALL=C sort > 
"$srcdir/$podir/Makevars.tmp2"
           missingvars=`LC_ALL=C comm -13 "$srcdir/$podir/Makevars.tmp1" 
"$srcdir/$podir/Makevars.tmp2"`
           rm -f "$srcdir/$podir/Makevars.tmp1" "$srcdir/$podir/Makevars.tmp2"
           if test -n "$missingvars"; then




reply via email to

[Prev in Thread] Current Thread [Next in Thread]