X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=tools%2Fgenssl;h=dfe821f43b85a00d2d0a05b37b7b92931cb365a3;hb=7d597daf0483f3396aca61f1f6f927cf81214ea5;hp=9c6cc3804ec2e1c65e696c4c6876832779fa3e50;hpb=aa692dc1039b63deef7886e914ec499abe7facaf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/tools/genssl b/tools/genssl index 9c6cc3804..dfe821f43 100755 --- a/tools/genssl +++ b/tools/genssl @@ -2,7 +2,7 @@ # # InspIRCd -- Internet Relay Chat Daemon # -# Copyright (C) 2013-2017 Sadie Powell +# Copyright (C) 2013-2017, 2020 Sadie Powell # # This file is part of InspIRCd. InspIRCd is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public @@ -34,7 +34,7 @@ use File::Temp(); sub prompt($$) { my ($question, $default) = @_; - return prompt_string(1, $question, $default) if eval 'use FindBin;use lib $FindBin::RealDir;use make::console; 1'; + return prompt_string(1, $question, $default) if eval 'use File::Basename; use FindBin; use lib dirname($FindBin::RealDir); use make::console; 1'; say $question; print "[$default] => "; chomp(my $answer = );