Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Specify the full command, so it works on OS X
  • Loading branch information
samcv committed Dec 19, 2016
1 parent 898ad01 commit e0bd456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htmlify.p6
Expand Up @@ -152,7 +152,7 @@ sub MAIN(
#
# Then they can be copied to doc/Programs.
if $use-highlights and $async {
$proc = Proc::Async.new('./highlights/highlight-filename-from-stdin.coffee', :r, :w);
$proc = Proc::Async.new('./highlights/node_modules/coffee-script/bin/coffee', './highlights/highlight-filename-from-stdin.coffee', :r, :w);
$supply = $proc.stdout.lines.Channel;
$supply2 = $proc.stderr.tap( { .say } );

Expand Down Expand Up @@ -1027,7 +1027,7 @@ sub highlight-code-blocks(:$use-inline-python = True, :$use-highlights = False)
$thing = $supply.receive;
}
else {
$command = ./highlights/highlight-file.coffee "$tmp_fname";
$command = ./highlights/node_modules/coffee-script/bin/coffee ./highlights/highlight-file.coffee "$tmp_fname";
}
}
else {
Expand Down

0 comments on commit e0bd456

Please sign in to comment.