aboutsummaryrefslogtreecommitdiff
path: root/src/propspec.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-13 14:56:24 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-15 17:18:39 -0700
commitc2c822f8fd46a84a03521c6a1a08893a939830ec (patch)
tree5e19169916594bb22098b081f64faa66f731ad33 /src/propspec.lisp
parentdb650186699ec82de2cfc9c2cbed1816b231cfec (diff)
downloadconsfigurator-c2c822f8fd46a84a03521c6a1a08893a939830ec.tar.gz
rename *REMOTE-LISP* to *SUPPRESS-LOADING-SYSTEMS*
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r--src/propspec.lisp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp
index bb5fa71..12a571e 100644
--- a/src/propspec.lisp
+++ b/src/propspec.lisp
@@ -146,12 +146,12 @@ systems."
,(slot-value first 'preprocessed-propspec)
,(slot-value second 'preprocessed-propspec))))
+(defvar *suppress-loading-systems* nil
+ "Bound by code which needs to prevent EVAL-PROPSPEC from attempting to load
+the ASDF systems associated with the propspec to be evaluated.")
+
(defmethod eval-propspec ((propspec propspec))
- ;; Don't try to load systems if we are a remote Lisp, as we don't upload the
- ;; .asd files, and we don't want to load out of /usr/share/common-lisp as we
- ;; might get a different version of the library at worst, or a lot of
- ;; warnings at best
- (unless *remote-lisp*
+ (unless *suppress-loading-systems*
(dolist (system (propspec-systems propspec))
(unless (asdf:component-loaded-p system)
(asdf:load-system system))))