Skip to content
Snippets Groups Projects
Commit 00fa3d14 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

guix: Make sure UPDATES-DIR is valid.

* scripts/guix.in: Make sure UPDATES-DIR is not #f.
parent 69ce1ffc
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@
(and=> (getenv "HOME")
(cut string-append <> "/.config")))
(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-compiled-path)))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment