Hello On Tue, Oct 11, 2005 at 08:28:54PM +0200, Daniel Leidert wrote: > Am Dienstag, den 11.10.2005, 08:15 +0200 schrieb Ola Lundqvist: > > On Mon, Oct 10, 2005 at 10:14:52PM +0200, Daniel Leidert wrote: > > [..] > > > Then there is a bug in generateRelease(). The code is as follows > > > > > > if ($gpgkey) { > > > cmdaction("$signcmd '$path/Release' '$path/Release.gpg' ". > > > "'$gpgkey' '$gpgpassfile'", > > > "Signing Release file for $path with key '$gpgkey'", > > > 3); > > > } > > > > > > But now the problem is, that if there is no gpgpassfile defined in > > > /etc/debarchiver.conf (e.g. the variable is commented out and not set to > > > ""), gpgpassfile is set to null: > > > > > > if ($gpgpassfile) { > > > $gpgpassfile = 0 if (! -f $gpgpassfile); > > > } > [..] > > Do you have a patch or do you want me to simply make the changes myself? > > Pleaes check the attached patch. It works perfectly for me. It tries to > make a fallback if $gpgpassfile is NULL or if the value is a > non-existing file. > > This should do.
Ok, looks good. Applying now. Thanks a lot. Regards, // Ola > Regards, Daniel -- --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ---- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://www.opal.dhs.org Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]