get rid of a warning message - we use svnlook 1.4.4 anyway
[infrastructure.git] / tunings-myplc-devel / commit-email.pl
index 9d0ef92..4d00be5 100755 (executable)
@@ -243,9 +243,9 @@ unless (-d _)
 # directory. This could be removed - it's only for compatibility with
 # 1.0.x svnlook - from 1.1.0, svnlook will be sensible about choosing a
 # temporary directory all by itself.
-my $tmp_dir = ( -d $ENV{'TEMP'} ? $ENV{'TEMP'} : '/tmp' );
-chdir($tmp_dir)
-  or die "$0: cannot chdir `$tmp_dir': $!\n";
+#my $tmp_dir = ( -d $ENV{'TEMP'} ? $ENV{'TEMP'} : '/tmp' );
+#chdir($tmp_dir)
+#  or die "$0: cannot chdir `$tmp_dir': $!\n";
 
 # Get the author, date, and log from svnlook.
 my ($lines_size, @svnlooklines) = &read_from_process(0, $svnlook, 'info',