[Po4a-commits] "po-debconf podebconf-report-po,1.48,1.49"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Thu May 8 13:22:42 UTC 2008
Update of /cvsroot/po4a/po-debconf
In directory alioth:/tmp/cvs-serv28779
Modified Files:
podebconf-report-po
Log Message:
When --notdebconf is used, use po/ as the default po directory (instead of
debian/po). Closes: #480164
Thanks to Y Giridhar Appaji Nag <giridhar at appaji.net>
Index: podebconf-report-po
===================================================================
RCS file: /cvsroot/po4a/po-debconf/podebconf-report-po,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- podebconf-report-po 24 Feb 2008 12:11:09 -0000 1.48
+++ podebconf-report-po 8 May 2008 13:22:39 -0000 1.49
@@ -364,8 +364,14 @@
## Try to locate the PO directory
if ($PODIR_ARG eq "") {
- foreach my $d (@TOPDIRS) {
- $PODIR = "$d/debian/po" if (-d "$d/debian/po");
+ if ($NOT_DEBCONF) {
+ foreach my $d (qw{.. .}) {
+ $PODIR = "$d/po" if (-d "$d/po");
+ }
+ }Â else {
+ foreach my $d (@TOPDIRS) {
+ $PODIR = "$d/debian/po" if (-d "$d/debian/po");
+ }
}
} else {
$PODIR = $PODIR_ARG;
More information about the Po4a-commits
mailing list