xml-i18n-update patch



May I commit that?

- Dietmar

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/xml-i18n-tools/ChangeLog,v
retrieving revision 1.85
diff -u -r1.85 ChangeLog
--- ChangeLog   2001/04/05 01:04:58     1.85
+++ ChangeLog   2001/04/06 07:56:14
@@ -1,3 +1,8 @@
+2001-04-06  Dietmar Maurer  <dietmar ximian com>
+
+       * xml-i18n-update.in.in: bug fix - the previous code to extract
+       top_srcdir from the Makefile was wrong.
+
 Sun Apr 04 21:03:00 2001  John Gotts <jgotts linuxsavvy com>
 
        * xml-i18n-tools.spec.in: Should be a noarch.  Also added some missing
Index: xml-i18n-update.in.in
===================================================================
RCS file: /cvs/gnome/xml-i18n-tools/xml-i18n-update.in.in,v
retrieving revision 1.31
diff -u -r1.31 xml-i18n-update.in.in
--- xml-i18n-update.in.in       2001/03/25 11:28:11     1.31
+++ xml-i18n-update.in.in       2001/04/06 07:56:15
@@ -464,11 +464,8 @@
                open (IN, "<Makefile") || die "can't open Makefile: $!";
                $makefile_source = <IN>;
            }
-            if ($makefile_source =~ /^top_srcdir[ \t]*=/) {   
-                $src_dir = $_;
-                $srcdir =~ s/top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/;
-                chomp $srcdir;
-                $conf_in = "$srcdir" . "/configure.in" . "\n";
+            if ($makefile_source =~ /top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/) {
+                $conf_in = "$1/configure.in";
            }
         }
 


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