Don't use \n in sed - a GNU extension, avoid it.

This commit is contained in:
Andrew V. Samoilov 2004-08-02 12:37:22 +00:00
parent 5de01cfe53
commit ceb5cf17d4
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ fi
# Generate po/POTFILES.in
$XGETTEXT --keyword=_ --keyword=N_ --output=- `find . -name '*.[ch]'` | \
sed -ne '/^#:/{s/#://;s/:[0-9]*/\n/g;s/ //g;p;}' | \
sed -ne '/^#:/{s/#://;s/:[0-9]*/\
/g;s/ //g;p;}' | \
grep -v '^$' | sort | uniq | grep -v 'regex.c' >po/POTFILES.in
ACLOCAL_INCLUDES="-I m4"