This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get ‘./miniperl -Ilib -T’ working
[perl5.git] / perl.c
diff --git a/perl.c b/perl.c
index 8df24db..4af5348 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -2070,7 +2070,9 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
                it should be reported immediately as a build failure.  */
            (void)Perl_av_create_and_unshift_one(aTHX_ &PL_preambleav,
                                                 Perl_newSVpvf(aTHX_
-        "BEGIN { do {local $!; -f q%c%"SVf"/buildcustomize.pl%c} and do q%c%"SVf"/buildcustomize.pl%c || die $@ }",
+                               "BEGIN { do {local $!; -f q%c./%"SVf
+                               "/buildcustomize.pl%c} and do q%c./%"SVf
+                               "/buildcustomize.pl%c || die $@ }",
                                                               0, SVfARG(*inc0), 0,
                                                               0, SVfARG(*inc0), 0));
        }