[Mageia-dev] [soft-commits] [3971] use ~/tmp for gfxboot tempdir

Guillaume Rousse guillomovitch at gmail.com
Fri Apr 6 09:54:23 CEST 2012


Le 06/04/2012 01:25, D.Morgan a écrit :
> On Fri, Apr 6, 2012 at 1:16 AM,<root at mageia.org>  wrote:
>> Revision 3971 Author tmb Date 2012-04-06 01:16:54 +0200 (Fri, 06 Apr 2012)
>>
>> Log Message
>>
>> use ~/tmp  for gfxboot tempdir
>>
>> Modified Paths
>>
>> draklive/trunk/draklive
>>
>> Modified: draklive/trunk/draklive
>> ===================================================================
>> --- draklive/trunk/draklive	2012-04-05 23:14:31 UTC (rev 3970)
>> +++ draklive/trunk/draklive	2012-04-05 23:16:54 UTC (rev 3971)
>> @@ -576,7 +576,7 @@
>>       -f $bootlogo or return;
>>
>>       my $cwd = Cwd::getcwd();
>> -    my $tempdir = File::Temp::tempdir("mdvgfxbootXXXX", CLEANUP =>  1);
>> +    my $tempdir = File::Temp::tempdir("tmp/mdvgfxbootXXXX", CLEANUP =>  1);
>
> maybe this should be changed to "tmp/mgagfxbootXXXX"       WDYT ?
This is a temporary file, the name doesn't really matter. And the commit 
message was wrong: you cannot ensure ~/tmp directory is used with this 
change, you're just forcing the use of a 'tmp' subdirectory insid the 
writable directory used selectionned by File::Temp module.

-- 
BOFH excuse #187:

Reformatting Page. Wait...


More information about the Mageia-dev mailing list