make sure to call CONTAINS-GLOB-EXPRESSION? only for strings
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user