Commit 4cf5533da96ecf31a8b4ee5ebe231afe339054b1

Thomas de Grivel 2019-10-04T09:33:35

only load asd if found at install

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/repo.lisp b/repo.lisp
index 69d4a70..1703254 100644
--- a/repo.lisp
+++ b/repo.lisp
@@ -306,7 +306,9 @@
   (let ((local (repo-local-dir repo)))
     (unless (probe-dir local)
       ($git-clone repo))
-    (asdf::load-asd (repo-asd repo))))
+    (let ((asd (repo-asd repo)))
+      (when asd
+        (asdf::load-asd asd)))))
 
 (defmethod repo-head-default ((repo git-repo))
   "master")