Added environment variable PLTPLANETDIR to control where planet saves stuff
in order to support multiple installations with different planet caches (as per dherman's request) svn: r735
This commit is contained in:
parent
d232a9f491
commit
d5ded0000d
|
@ -6,7 +6,9 @@
|
|||
(PLANET-SERVER-NAME "planet.plt-scheme.org")
|
||||
(PLANET-SERVER-PORT 270)
|
||||
(PLANET-CODE-VERSION "300")
|
||||
(PLANET-DIR (build-path (find-system-path 'addon-dir) "planet" (PLANET-CODE-VERSION)))
|
||||
(PLANET-DIR (if (getenv "PLTPLANETDIR")
|
||||
(string->path (getenv "PLTPLANETDIR"))
|
||||
(build-path (find-system-path 'addon-dir) "planet" (PLANET-CODE-VERSION))))
|
||||
(CACHE-DIR (build-path (PLANET-DIR) "cache"))
|
||||
(LINKAGE-FILE (build-path (PLANET-DIR) "LINKAGE"))
|
||||
(LOGGING-ENABLED? #t)
|
||||
|
|
|
@ -52,8 +52,9 @@ Parameters:
|
|||
> (PLANET-DIR) -> directory-string
|
||||
> (PLANET-DIR directory-string) -> void
|
||||
|
||||
The root PLaneT directory. Default is the directory in which config.ss
|
||||
is found.
|
||||
The root PLaneT directory. If the environment variable PLTPLANETDIR is
|
||||
set, default is its value; otherwise the default is the directory in
|
||||
which config.ss is found.
|
||||
|
||||
> (CACHE-DIR) -> directory-string
|
||||
> (CACHE-DIR directory-string) -> void
|
||||
|
|
Loading…
Reference in New Issue
Block a user