Hi,
In mail "Re: Installing from CVS"
"Akinori MUSHA" <knu / iDaemons.org> wrote:
> At Sun, 9 Feb 2003 22:34:04 +0900,
> Tim Bates wrote:
> > I don't know who's in charge of the install.rb script, but whoever
> > it is (and
>
> If you mean the setup.rb/install.rb, Minero Aoki-san is. The contact
> information can be found in the opening comment of the file itself.
> (I'm CC'ing him this mail)
Thank you. I have not know this thread...
> A quick fix is as follows:
> diff -u -r1.8 -r1.9
> --- install.rb 10 Dec 2002 13:34:17 -0000 1.8
> +++ install.rb 28 Jan 2003 12:07:13 -0000 1.9
> @@ -781,6 +781,7 @@
> run_hook 'pre-' + task
> __send__ mid, rel.sub( %r_\A.*?(?:/|\z)_, '' )
> all_dirs( curr_srcdir ).each do |d|
> + next if d == 'CVS'
> traverse task, rel + '/' + d, mid
> end
> run_hook 'post-' + task
I cannot accept this patch. Current setup.rb is designed for
only distribution/installation phase. If we use setup.rb for
development phase, we should re-design setup.rb. Orelse we
will encounter many problems.
* Ignoring CVS/* is really sufficiant?
setup.rb should ignore image files too.
* setup.rb should ignore non-program files (e.g. resource text) too.
* ....
-- Minero Aoki