me
/
guix
Archived
1
0
Fork 0

guix: Make sure UPDATES-DIR is valid.

* scripts/guix.in: Make sure UPDATES-DIR is not #f.
master
Ludovic Courtès 2013-02-21 10:27:34 +01:00
parent f651b477b7
commit 525ca3e912
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
(and=> (getenv "HOME") (and=> (getenv "HOME")
(cut string-append <> "/.config"))) (cut string-append <> "/.config")))
(cut string-append <> "/guix/latest")))) (cut string-append <> "/guix/latest"))))
(when (file-exists? updates-dir) (when (and updates-dir (file-exists? updates-dir))
(push! updates-dir %load-path) (push! updates-dir %load-path)
(push! updates-dir %load-compiled-path))))) (push! updates-dir %load-compiled-path)))))