Summary

Egg installation doesn't work when CHICKEN_INSTALL_REPOSITORY is a relative path

Metadata

Description

If you set `CHICKEN_INSTALL_REPOSITORY` to relative path and install an egg, the generated install script will put the egg's files under `~/.chicken-install/cache` rather than in the actual repository.

 $ mkdir foo
 $ export CHICKEN_INSTALL_REPOSITORY=foo
 $ chicken-install srfi-1 >/dev/null
 $ ls foo
 $ chicken-status
 (none)
 $ find ~/.chicken-install/cache/srfi-1/foo -type f
 /home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.import.so
 /home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.o
 /home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.so
 /home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.link
 /home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.egg-info
 /home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.types

Changes and comments

[2018-06-02 11:47:30 UTC] felix wrote:

Well, don't do that. But this should be documented in any case.

[2018-06-02 13:06:57 UTC] felix wrote:

I added a note in the manual.

[2018-06-02 13:07:06 UTC] felix changed status from new to closed

[2018-06-02 13:07:06 UTC] felix set resolution to worksforme