From fbc35d394cc57b9e2e92fe45d34778b77f29c05b Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 4 Apr 2013 04:01:01 +0200 Subject: [PATCH] Another small output fix for --help and --version. --- lib/mk-ca-bundle.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mk-ca-bundle.pl b/lib/mk-ca-bundle.pl index b7ab1a1bf..2eeefff0b 100755 --- a/lib/mk-ca-bundle.pl +++ b/lib/mk-ca-bundle.pl @@ -44,6 +44,7 @@ my $version = '1.18'; $opt_w = 76; # default base64 encoded lines length +$0 =~ s@.*(/|\\)@@; $Getopt::Std::STANDARD_HELP_VERSION = 1; getopts('bfhilnqtuvw:'); @@ -59,7 +60,6 @@ if ($opt_i) { print ("=" x 78 . "\n"); } -$0 =~ s@.*(/|\\)@@; sub HELP_MESSAGE() { print "Usage:\t${0} [-b] [-f] [-i] [-l] [-n] [-q] [-t] [-u] [-v] [-w] []\n"; print "\t-b\tbackup an existing version of ca-bundle.crt\n";