[racket] raco setup broken if behind softlink

From: Tobias Hammer (tobias.hammer at dlr.de)
Date: Thu Feb 27 08:56:58 EST 2014

Hi,

if i use a softlink on linux to call raco, raco setup behaves strangely  
different.

Reproduce with
raco setup -xiIdD --no-planet --avoid-main --force mycollection
[compile output]

ln -s `which raco` myraco
./myraco setup -xiIdD --no-planet --avoid-main --force mycollection
open-input-file: cannot open input file
   path: <<current director>>/mycollection
   system error: No such file or directory; errno=2

 From what i could trace, the link gets passed to racket via -N and raco  
setup somehow uses this to check what it should do. But from that on i am  
lost.

I would be grateful for any hints if i am trying something evil or for  
possible workarounds.

Tobias



-- 
Tobias Hammer
DLR / Robotics and Mechatronics Center (RMC)
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.hammer at dlr.de

Posted on the users mailing list.