Am I setting PLTCOLLECTS environment variable correctly? Do I need to reference the PLTCOLLECTS variable somehow?
The following is contained in my shell file: /home/don/Programs/hello-world.sh #! /bin/bash PLTCOLLECTS=/home/don/.plt-scheme/4.2.1/collects: /home/don/bin/racket -t /home/don/.plt-scheme/4.2.1/collects/DG/hello-world.ss #end of shell file. The following is contained in my Racket file: /home/don/.plt-scheme/4.2.1/collects/DG/hello-world.ss : #lang scheme (provide hello-world) (define hello-world (display "HELLO WORLD")) (newline) (find-library-collection-paths) hello-world ;------------------------ RETURNS: don@don-laptop:~/Programs$ sh hello-world.sh HELLO WORLD (#<path:/home/don/.racket/5.2.1/collects> #<path:/usr/local/racket/collects>) THE PROBLEM: (find-library-collection-paths) returns: ;=> (#<path:/home/don/.racket/5.2.1/collects> #<path:/usr/local/racket/collects>) I need it to return something like: (#<path:/home/don/.racket/5.2.1/collects> #<path:/usr/local/racket/collects> #<path:/home/don/.racket/4.2.1/collects>) Maybe it helps if I explain the reason for my need. All of my code is in modules under #<path:/home/don/.racket/4.2.1/collects>. Many thanks for your comments.
____________________ Racket Users list: http://lists.racket-lang.org/users