Skip to content

Commit

Permalink
Change $*EXECUTABLE_NAME to $*EXECUTABLE-NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
stmuk committed Jun 26, 2015
1 parent 18d2661 commit 53c6385
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bin/p6doc
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ sub show-docs(Str $path, :$section) {
if $section.defined {
%*ENV<PERL6_POD_HEADING> = $section;
my $i = findbin() ~ '../lib';
say "launching '$*EXECUTABLE_NAME -I$i --doc=SectionFilter $path $fmt-string | $pager'" if DEBUG;
shell "$*EXECUTABLE_NAME -I$i --doc=SectionFilter $path $fmt-string | $pager";
say "launching '$*EXECUTABLE-NAME -I$i --doc=SectionFilter $path $fmt-string | $pager'" if DEBUG;
shell "$*EXECUTABLE-NAME -I$i --doc=SectionFilter $path $fmt-string | $pager";
}
else {
shell "$*EXECUTABLE_NAME --doc $path $fmt-string | $pager";
shell "$*EXECUTABLE-NAME --doc $path $fmt-string | $pager";
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Language/variables.pod
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ X<$*CWD|variable.$*CWD>
==
$*EXECUTABLE Absolute path of the perl executable that is currently running.
==
$*EXECUTABLE_NAME The name of the perl executable that is currently running.
$*EXECUTABLE-NAME The name of the perl executable that is currently running.
(e.g. perl6-p, perl6-m, Niecza.exe)
Favor $*EXECUTABLE because it is not guaranteed that the perl
executable is in PATH.
Expand Down

0 comments on commit 53c6385

Please sign in to comment.