We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a36e3 commit 0c8a072Copy full SHA for 0c8a072
bin/p6doc
@@ -53,11 +53,11 @@ sub show-docs(Str $path, :$section) {
53
if $section.defined {
54
%*ENV<PERL6_POD_HEADING> = $section;
55
my $i = findbin() ~ '../lib';
56
- say "launching 'perl6 -I$i --doc=SectionFilter $path | $pager'" if DEBUG;
57
- shell "perl6 -I$i --doc=SectionFilter $path | $pager";
+ say "launching '$*EXECUTABLE_NAME -I$i --doc=SectionFilter $path | $pager'" if DEBUG;
+ shell "$*EXECUTABLE_NAME -I$i --doc=SectionFilter $path | $pager";
58
}
59
else {
60
- shell "perl6 --doc $path | $pager";
+ shell "$*EXECUTABLE_NAME --doc $path | $pager";
61
62
63
0 commit comments