[Debian-l10n-commits] r1052 - /dl10n/trunk/dl10n-check
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Sat Jun 7 13:00:12 UTC 2008
Author: nekral-guest
Date: Sat Jun 7 13:00:11 2008
New Revision: 1052
URL: http://svn.debian.org/wsvn/?sc=1&rev=1052
Log:
Make debconf-updatepo errors/output clearer and indicate the package which
generated these errors.
Modified:
dl10n/trunk/dl10n-check
Modified: dl10n/trunk/dl10n-check
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-check?rev=1052&op=diff
==============================================================================
--- dl10n/trunk/dl10n-check (original)
+++ dl10n/trunk/dl10n-check Sat Jun 7 13:00:11 2008
@@ -981,7 +981,11 @@
}
}
# Update PO files
- system ("cd $pkgroot && debconf-updatepo --skip-pot");
+ my $debconf_updatepo_out = qx"cd $pkgroot && debconf-updatepo --skip-pot 2>&1";
+ if ( defined $debconf_updatepo_out
+ and length $debconf_updatepo_out) {
+ warn "Package $pkg, debconf-updatepo returned:\n$debconf_updatepo_out\n";
+ }
}
foreach my $file (@pofiles) {
More information about the Debian-l10n-commits
mailing list