fixed another wrong var in error message.
authorGunter Knauf <gk@gknw.de>
Sat, 9 Feb 2008 15:32:54 +0000 (15:32 +0000)
committerGunter Knauf <gk@gknw.de>
Sat, 9 Feb 2008 15:32:54 +0000 (15:32 +0000)
lib/mk-ca-bundle.pl

index 496d8de..a96c221 100755 (executable)
@@ -104,7 +104,7 @@ EOT
 close(CRT) or die "Couldn't close $crt: $!";
 
 my $certnum;
-open(TXT,"$txt") or die "Couldn't open $file: $!";
+open(TXT,"$txt") or die "Couldn't open $txt: $!";
 while (<TXT>) {
   if (/\*\*\*\*\* BEGIN LICENSE BLOCK \*\*\*\*\*/) {
     open(CRT, ">>$crt") or die "Couldn't open $crt: $!";