aboutsummaryrefslogtreecommitdiff
path: root/src/util.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.lisp')
-rw-r--r--src/util.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util.lisp b/src/util.lisp
index 9c6c4ec..64d049f 100644
--- a/src/util.lisp
+++ b/src/util.lisp
@@ -32,6 +32,11 @@
`(and (symbolp ,symbol)
(string= (symbol-name ',name) (symbol-name ,symbol))))
+(defun normalise-system (system)
+ (etypecase system
+ (string system)
+ (symbol (string-downcase
+ (symbol-name system)))))
;;;; Version numbers