Bug#336781: subversion: commit-email.pl hook script fails when environment variable TEMP is not defined

Peter Samuelson peter at p12n.org
Sat Nov 12 07:26:17 UTC 2005


severity 336781 minor
retitle 336781 subversion: harmless warning in commit-email.pl hook script
thanks

[Michael Nacey]
> On line 224, the commit-email.pl file has the line:
> 
> my $tmp_dir = ( -d $ENV{'TEMP'} ? $ENV{'TEMP'} : '/tmp' );
> 
> This fails when TEMP is not defined.

It shouldn't fail, it should just print a harmless warning.  If the
script weren't using perl -w, it wouldn't even do that.

Nevertheless, it's fixed for the next upload, Real Soon Now.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-subversion-maintainers/attachments/20051112/d1db2ecc/attachment.pgp


More information about the pkg-subversion-maintainers mailing list