Use the correct $PROGRAM_NAME for the initial dbicadmin POD gneration
Peter Rabbitson [Tue, 27 May 2014 23:21:13 +0000 (01:21 +0200)]
maint/Makefile.PL.inc/53_autogen_pod.pl

index ec6c1a1..fb222ee 100644 (file)
@@ -56,6 +56,7 @@ EOP
   my $great_success;
   {
     local @ARGV = ('--documentation-as-pod', $pod_fn);
+    local $0 = 'dbicadmin';
     local *CORE::GLOBAL::exit = sub { $great_success++; die; };
     do 'script/dbicadmin';
   }