fix(tools): set script source in anvil-access-module

main
Tsu-ba-me 1 year ago
parent 3cce3c39b8
commit 4647062111
  1. 8
      tools/anvil-access-module

@ -524,10 +524,12 @@ else
my $script_file_handle; my $script_file_handle;
eval { eval {
if ($script_file =~ /^#!SET!#|-$/) # TODO: make this script read piped input
{
$script_file = "-"; $script_file = "-" if ($script_file =~ /^#!SET!#$/);
if ($script_file =~ /^-$/)
{
open($script_file_handle, $script_file); open($script_file_handle, $script_file);
} }
else else

Loading…
Cancel
Save