make sure to call CONTAINS-GLOB-EXPRESSION? only for strings
This commit is contained in:
parent
3b6c77f553
commit
7ff7ef196b
|
@ -71,7 +71,7 @@
|
|||
(expand-string/s-expr (command-executable command))
|
||||
(fold-right
|
||||
(lambda (arg args)
|
||||
(if (contains-glob-expression? arg)
|
||||
(if (and (string? arg) (contains-glob-expression? arg))
|
||||
(append (glob-argument arg) args)
|
||||
(cons arg args)))
|
||||
'() expanded)
|
||||
|
|
Loading…
Reference in New Issue