Commits

Shlomi Fish committed 16202ad

Got rid of a self-calling closure.

Comments (0)

Files changed (1)

bin/gen-docbook-make-helpers.pl

 
     io->file("lib/make/docbook/sf-fictions.mak")->print(
         map {
-            sub {
             my $d = $_;
 
             my $b = $d->{base};
 
                 push @ret, qq{\$($from_vcs_varname): \$($src_varname)\n\tcp -f \$< \$@\n\n};
             }
-            return @ret;
-            }->();
+            @ret;
         } @$fiction_data,
     );
 }