mescc: Robustify against empty `V' in environment.

* module/mescc.scm: Robustify against empty V in environment.
This commit is contained in:
Jan Nieuwenhuizen 2019-05-29 16:47:54 +02:00
parent 1444c67010
commit 9cc3b10763
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
(define %prefix (getenv "%prefix"))
(define %version (getenv "%version"))
(when (and=> (getenv "V") (lambda (v) (> (string->number v) 1)))
(when (and=> (getenv "V") (lambda (v) (and (= (string-length v) 1) (> (string->number v) 1))))
(format (current-error-port) "mescc[~a]...\n" %scheme))
(define (unclump-single o)