Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Ebuilds needing user input
Date: Sat, 31 Jan 2004 00:02:07
Message-Id: 200401301848.46400.vapier@gentoo.org
In Reply to: [gentoo-dev] Ebuilds needing user input by Paulo Jorge de Oliveira Cantante de Matos
1 On Friday 30 January 2004 18:11, Paulo Jorge de Oliveira Cantante de Matos
2 wrote:
3 > How should one enter some input to an installation process through an
4 > ebuild? For example, at some point the bash script for program
5 > installation needs to receive a number from 1 to 4, how can we enter one
6 > of those through an ebuild?
7
8 edit the script (via sed or patch) or pipe canned output to it
9 example:
10 ./somescript << EOF
11 1
12 2
13 3
14 4
15 EOF
16 -mike
17
18
19 --
20 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Ebuilds needing user input George Shapovalov <george@g.o>