Mercurial > treepkg
diff demostaticweb.cfg @ 76:7c55fb368d0b
web: expand the cachedir value of of staticweb.cfg
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 17 Apr 2007 12:29:24 +0200 |
parents | 57a0b747ea3e |
children | 9a602d8eaa60 |
line wrap: on
line diff
--- a/demostaticweb.cfg Tue Apr 17 11:52:28 2007 +0200 +++ b/demostaticweb.cfg Tue Apr 17 12:29:24 2007 +0200 @@ -34,5 +34,9 @@ publish_dir: /tmp/treepkg-status # local cache directory. publishstaticweb.py may delete it and its -# contents. -cachedir: /tmp/treepkg-status +# contents. The value is passed through the python functions +# os.path.expanduser and os.path.expandvars, so references to home +# directories of the form ~ or ~user at the beginning of the value and +# environment variable references of the form $VAR or ${VAR} are +# expanded. +cachedir: /tmp/${USER}/treepkg-status-cache