Re: [Chicken-users] chicken-setup feature-request

2007-04-26 Thread Graham Fawcett

On 4/25/07, foobar [EMAIL PROTECTED] wrote:

The thing is that i want to be able to specifiy the path where
eggs are fetched and built into. At the moment i have a separate
directory where i need to change into prior to a chicken-setup-call
in order to not pollute my filesystem (my homedir most of the time)
with the eggs being spread everywhere :)


On Unix, pending a fix, you could always write a script like:

#!/bin/bash
pushd .  /dev/null
cd /tmp
chicken-setup $@
popd  /dev/null

call it csetup or something like that; you'll get the effect you
want. (I'm sure there's a better way to write the script, but this
would do the trick.)

cheers,
Graham


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] chicken-setup feature-request

2007-04-25 Thread foobar
Hi,
may i request a feature for chicken-setup, unless i missed something
and it's allready there, of course.

The thing is that i want to be able to specifiy the path where
eggs are fetched and built into. At the moment i have a separate
directory where i need to change into prior to a chicken-setup-call
in order to not pollute my filesystem (my homedir most of the time)
with the eggs being spread everywhere :)

My idea is to control it via an environmentvariable.
A suitable default-value for unixes would probably be /tmp.
As the build-dir is allready a prameter, you could just
parameterize it, no?

If there is allready such a feature could you please
tell me about it?

Best regards
David


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-setup feature-request

2007-04-25 Thread felix winkelmann

On 4/25/07, foobar [EMAIL PROTECTED] wrote:

Hi,
may i request a feature for chicken-setup, unless i missed something
and it's allready there, of course.

The thing is that i want to be able to specifiy the path where
eggs are fetched and built into. At the moment i have a separate
directory where i need to change into prior to a chicken-setup-call
in order to not pollute my filesystem (my homedir most of the time)
with the eggs being spread everywhere :)

My idea is to control it via an environmentvariable.
A suitable default-value for unixes would probably be /tmp.
As the build-dir is allready a prameter, you could just
parameterize it, no?

If there is allready such a feature could you please
tell me about it?


No, there currently is not such a feature, but your idea makes
a lot of sense. The build-dir parameter is currently only suitable
for reading, so its not quite that easy. But I'll think of something.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-setup feature request

2006-10-23 Thread felix winkelmann

On 10/23/06, Peter Busser [EMAIL PROTECTED] wrote:

Hi!

Is it possible to add a command-line switch to chicken-setup to set a
root-directory from which all installations are done?

This is useful because during package building, the files are installed
in a different directory than the root directory. This way the installed
files do not overwrite the files present on the system.

I noticed that there is a -P switch for the installation path of commands.
That solved the build problems for several eggs. Unfortunately, there is no
equivalent for documentation or for example files.



Doesn't -R (-repository) solve this problem? This will let you
specify where the repository is, which determines where docs/examples
and compiled eggs are copied. -P will give the directory for scripts
and programs, so with both of these options you should be ok.


cheers,
felix

--
http://galinha.ucpel.tche.br:8081/blog/blog.ssp


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users