intltool r716 - trunk



Author: wbolster
Date: Thu Jan 17 10:41:10 2008
New Revision: 716
URL: http://svn.gnome.org/viewvc/intltool?rev=716&view=rev

Log:
2008-01-17  Wouter Bolsterlee  <wbolster svn gnome org>

	reviewed by: Rodney Dawes

	* intltool-update.in.in:

	Fix a regression: try to detect package name from
	configure.{ac,in} only if $GETTEXT_PACKAGE is not set.
	Since the name detection aborts if no configure.{ac,in}
	was found, this broke non-autotooled projects.
	Fixes bug #509411.


Modified:
   trunk/ChangeLog
   trunk/intltool-update.in.in

Modified: trunk/intltool-update.in.in
==============================================================================
--- trunk/intltool-update.in.in	(original)
+++ trunk/intltool-update.in.in	Thu Jan 17 10:41:10 2008
@@ -124,10 +124,7 @@
 
 &Console_Write_IntltoolHelp if $arg_count > 1;
 
-my $PKGNAME = FindPackageName ();
-
-# --version and --help don't require a module name
-my $MODULE = $GETTEXT_PACKAGE || $PKGNAME || "unknown";
+my $MODULE = $GETTEXT_PACKAGE || FindPackageName() || "unknown";
 
 if ($POT_ARG)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]