~ruther/guix-local

ref: d254fde05ab87cb422f59bbdac2685de23ea2acc guix-local/gnu/packages/patches/aegis-perl-tempdir1.patch -rw-r--r-- 482 bytes
d254fde0 — Sharlatan Hellseher gnu: python-slicerator: Switch to pyproject. a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This patch removes the hard coded temporary directory (which might not exist on the system)
and replaces it using the Perl preferred method.
--- aegis-4.24/script/aebisect.in	2008-03-14 07:19:27.000000000 +0100
+++ aegis-4.24/script/aebisect.in	2014-01-26 11:03:31.000000000 +0100
@@ -34,7 +34,8 @@
 # @configure_input@
 #
 # Configure additions?
-my $TmpDir   = "/var/tmp";
+use File::Temp qw/ tempdir /;
+my $TmpDir   = tempdir();
 my $ProgramName = "aebisect";
 
 require 5.004;