FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

LinkBack Thread Tools
Old 11-01-2010, 07:54 AM
Hanno Böck
Default la-file removal and "|| die"

Just stepped upon a bug on a .la-file-removal-action that I'd like to share so
others don't repeat that bug if we'll soon mass-add la-file-removal-code to

file-roller-2.32.0.ebuild has these lines:

find "${ED}"usr/$(get_libdir)/nautilus -name "*.la" -delete
|| die "la file removal failed"

This will die if the directory in place is not found. Unfortunately, this can
be the case here as file-roller has a use-flag "nautilus" and the above
directory only get's created if this flag is set.

I don't know if there's any valid reason to add || die to the la-file-removal-
command. Anyway, the already proposed eutils-function for lafile-removal would
probably be the best way to avoid such problems for good.

Hanno Böck Blog: http://www.hboeck.de/
GPG: 3DBD3B20 Jabber/Mail: hanno@hboeck.de

Thread Tools

All times are GMT. The time now is 10:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org