Commit | Line | Data |
---|---|---|
0e534e74 JD |
1 | This patch removes the hard coded temporary directory (which might not exist on the system) |
2 | and replaces it using the Perl preferred method. | |
3 | --- aegis-4.24/script/aebisect.in 2008-03-14 07:19:27.000000000 +0100 | |
4 | +++ aegis-4.24/script/aebisect.in 2014-01-26 11:03:31.000000000 +0100 | |
5 | @@ -34,7 +34,8 @@ | |
6 | # @configure_input@ | |
7 | # | |
8 | # Configure additions? | |
9 | -my $TmpDir = "/var/tmp"; | |
10 | +use File::Temp qw/ tempdir /; | |
11 | +my $TmpDir = tempdir(); | |
12 | my $ProgramName = "aebisect"; | |
13 | ||
14 | require 5.004; |