Dnia 2013-09-01, o godz. 13:29:27
Gilles Dartiguelongue <e...@gentoo.org> napisał(a):

> 
> Le samedi 31 août 2013 à 18:44 +0200, Gilles Dartiguelongue a écrit :
> > Le samedi 31 août 2013 à 16:49 +0200, Michał Górny a écrit :
> > > Dnia 2013-08-31, o godz. 15:00:43
> > > Gilles Dartiguelongue <e...@gentoo.org> napisał(a):
> > > 
> > > > Le samedi 31 août 2013 à 13:40 +0200, Michał Górny a écrit :
> > > > > > +   cat "${tmp_file}" > 
> > > > > > "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache"
> > > > > 
> > > > > Why not mv or cp? Also you need '|| die' here since 'cat' can fail
> > > > > writing.
> 
> Thanks for pacho's bugzillafu, we've got the original reports here:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=413529
> https://bugs.gentoo.org/show_bug.cgi?id=413485
> 
> It seems the cat usage was only to avoid handling file permission
> issues.

Then I guess using 'chmod' on the temporary file + 'mv' afterwards.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to