1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 02:30:35 +02:00

(AM_GNU_GETTEXT): Quote square brackets with [' and ]'

and remove uses of `changequote'.
This commit is contained in:
Jim Meyering
2000-02-08 15:29:26 +00:00
parent c52336c440
commit 345ed2f0c4
+1 -3
View File
@@ -303,16 +303,14 @@ strdup __argz_count __argz_stringify __argz_next])
dnl Generate list of files to be processed by xgettext which will
dnl be included in po/Makefile.
test -d po || mkdir po
changequote(, )dnl
case "$srcdir" in
.)
posrcprefix="../" ;;
/* | [A-Za-z]:*)
/* | [[A-Za-z]]:*)
posrcprefix="$srcdir/" ;;
*)
posrcprefix="../$srcdir/" ;;
esac
changequote([, ])dnl
rm -f po/POTFILES
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
< $srcdir/po/POTFILES.in > po/POTFILES