io.files.temp.unix: changing cache directory to use XDG spec.

Typically this means ~/.cache/factor.
char-rename
John Benediktsson 2016-11-08 21:24:34 -08:00
parent 73d430bfb9
commit deac792fc7
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
! (c)2012 Joe Groff bsd license
USING: io.files.temp io.pathnames system ;
USING: io.files.temp io.pathnames system xdg ;
IN: io.files.temp.unix
M: unix default-temp-directory "/tmp/factor-temp" ;
M: unix default-cache-directory home ".factor-cache" append-path ;
M: unix default-cache-directory xdg-cache-home ".factor" append-path ;