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 12-16-2007, 06:13 AM
Donnie Berkholz
Default gentoo-x86 commit in media-video/undvd: undvd-0.3.0.ebuild metadata.xml ChangeLog Manifest

On 17:46 Fri 14 Dec , Greg Kroah-Hartman (gregkh) wrote:
> pkg_setup() {
> einfo "Checking mplayer for USE flags we need..."
> for f in "encode dvd x264 mp3"; do
> if ! built_with_use media-video/mplayer $f; then
> eerror "$f"
> die "mplayer merged without $f USE flag"
> fi
> done

Does this actually work as you want? I'd be surprised. Quoting the whole
thing should treat it as a single flag with spaces and only run through
the loop once.

It should only coincidentally work because built_with_use() takes any
number of flags and loops through them, but I doubt it prints the single
missing flag as you intend.

donnie@supernova $ for f in "a b c d"; do echo $f; done
a b c d
donnie@supernova $ for f in a b c d; do echo $f; done

gentoo-dev@gentoo.org mailing list

Thread Tools

All times are GMT. The time now is 06:47 AM.

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