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;
eval {
if ($script_file =~ /^#!SET!#|-$/)
{
$script_file = "-";
# TODO: make this script read piped input
$script_file = "-" if ($script_file =~ /^#!SET!#$/);
if ($script_file =~ /^-$/)
{
open($script_file_handle, $script_file);
}
else

Loading…
Cancel
Save