Oops, should have been more careful

This commit is contained in:
Tom Willemsen 2012-08-14 21:27:24 +02:00
parent 7376a87f72
commit 252e766648

View file

@ -24,8 +24,8 @@
(let* ((xdg (getenv "XDG_CONFIG_HOME")) (let* ((xdg (getenv "XDG_CONFIG_HOME"))
(home (getenv "HOME")) (home (getenv "HOME"))
(rc-file-name "undonerc.scm") (rc-file-name "undonerc.scm")
(xdg-rc-file (string-append xdg "/" rc-file-name)) (xdg-rc-file (string-append xdg "/undone/" rc-file-name))
(home-rc-file (string-append home "/" rc-file-name))) (home-rc-file (string-append home "/.undone/" rc-file-name)))
(if (and xdg (file-exists? xdg-rc-file)) (if (and xdg (file-exists? xdg-rc-file))
xdg-rc-file xdg-rc-file
home-rc-file))) home-rc-file)))