io.files.temp.unix: changing cache directory to use XDG spec.
Typically this means ~/.cache/factor.char-rename
parent
73d430bfb9
commit
deac792fc7
|
@ -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 ;
|
||||
|
|
Loading…
Reference in New Issue