debian/upstream-version: Update regexp to find Emacs 29.1's AC_INIT
authorSean Whitton <spwhitton@spwhitton.name>
Sun, 30 Jul 2023 19:15:08 +0000 (20:15 +0100)
committerSean Whitton <spwhitton@spwhitton.name>
Sun, 30 Jul 2023 20:09:54 +0000 (21:09 +0100)
debian/upstream-version

index a6dd627c7199a283e822f7eca468eca5d71f0d04..04afc1afce608c9f155a5b5b1b581f9bf6c45791 100755 (executable)
@@ -10,7 +10,7 @@ my $version = '';
 my $found_init = 0;
 while (<$config_file>)
 {
-  if(/^AC_INIT\(GNU Emacs,\s*(\d+\.\d+(\.\d+)?)\s*\,.*/o)
+  if(/^AC_INIT\(\[GNU Emacs\],\s*\[(\d+\.\d+(\.\d+)?)\]\s*\,.*/o)
   {
     $found_init and die 'found duplicate AC_INIT() in configure.ac';
     $version = $1;