diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-02-21 10:27:34 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-02-27 20:55:42 +0100 |
commit | 00fa3d1457ad466d1742fb74baf2760282cb41b0 (patch) | |
tree | fc5b9f71317a008551bff94e23c18ed800910168 /scripts | |
parent | 69ce1ffc7d5f12266e3a4cde605ca76a65c297b4 (diff) | |
download | guix-00fa3d1457ad466d1742fb74baf2760282cb41b0.tar.gz |
guix: Make sure UPDATES-DIR is valid.
* scripts/guix.in: Make sure UPDATES-DIR is not #f.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/guix.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/guix.in b/scripts/guix.in index 1315789a9c..4015560cd5 100644 --- a/scripts/guix.in +++ b/scripts/guix.in @@ -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))))) |