summaryrefslogtreecommitdiff
path: root/tools/genssl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/genssl')
-rwxr-xr-xtools/genssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genssl b/tools/genssl
index c88f9534f..b824f4ebe 100755
--- a/tools/genssl
+++ b/tools/genssl
@@ -36,7 +36,7 @@ use File::Temp();
sub prompt($$) {
my ($question, $default) = @_;
- return prompt_string(1, $question, $default) if eval 'use make::console; 1';
+ return prompt_string(1, $question, $default) if eval 'use FindBin;use lib $FindBin::RealDir;use make::console; 1';
say $question;
print "[$default] => ";
chomp(my $answer = <STDIN>);