1 ! Copyright (C) 2012 Joe Groff.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: environment io.files.temp io.pathnames sequences system
7 M: unix default-temp-directory
8 "TMPDIR" os-env [ "/tmp" ] when-empty "factor-temp" append-path ;
10 M: unix default-cache-directory
11 xdg-cache-home "factor" append-path absolute-path ;