Check if microperl's version in uconfig.sh/h needs bumping
authorDavid Leadbeater <dgl@dgl.cx>
Mon, 7 Mar 2011 19:08:55 +0000 (19:08 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 28 Mar 2011 09:21:47 +0000 (10:21 +0100)
Porting/bump-perl-version

index b5752fb..7eefee2 100644 (file)
@@ -182,6 +182,14 @@ my @maps =  (
        qr/makedef|win32|hints/,      # makedef.pl, README.win32, win32/*, hints/*
     ],
 
+    # microperl locations should be bumped for major versions
+    [
+        qr{(/)(\d\.\d{2})(["'/])},
+        sub { $2, "$1$newx.$newy$3" },
+        "$oldx.$oldy",
+        qr/uconfig/,
+    ],
+
 );