Re: Generating gettext's .pot file
From: Ben Reser <ben_at_reser.org>
Date: 2004-04-03 20:42:02 CEST
There are problems with this script:
On Sat, Apr 03, 2004 at 02:50:13PM -0300, Nicol?s_Lichtmaier wrote:
Please try to avoid using /bin/bash unless you really need it. Let's
> cd ..
You're assuming that the user of the script is in a particular
> xgettext -o po/subversion.pot -k_ -kN_ --msgid-bugs-address=dev@subversion.tigris.org $(find . -name "*.c")
Ugh. Don't do use find like this. This will fail if the number of
(We'll ignore the files with space issue because fixing that requires
Further, not all the *.c files in the source tree should be searched by
Also my xgettext doesn't understand the
So we should use this:
#!/bin/sh
SOURCEPATH=$1
-- Ben Reser <ben@reser.org> http://ben.reser.org "Conscience is the inner voice which warns us somebody may be looking." - H.L. Mencken --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Apr 3 20:42:19 2004 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.