diff options
Diffstat (limited to 'textproc/p5-Senna/files/patch-prompt.pl')
-rw-r--r-- | textproc/p5-Senna/files/patch-prompt.pl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/p5-Senna/files/patch-prompt.pl b/textproc/p5-Senna/files/patch-prompt.pl new file mode 100644 index 000000000000..e1e2f392ea0b --- /dev/null +++ b/textproc/p5-Senna/files/patch-prompt.pl @@ -0,0 +1,11 @@ +--- tools/prompt.pl.orig Wed Aug 30 14:26:45 2006 ++++ tools/prompt.pl Wed Aug 30 14:27:13 2006 +@@ -16,7 +16,7 @@ + "\n", + "Proceed ? [n] "; + +-my $tmp = <STDIN>; ++my $tmp = $interactive ? <STDIN> : "yes"; + chomp $tmp; + if ($tmp !~ /^y(?:es)?$/) { + exit 1; |