make sure to call CONTAINS-GLOB-EXPRESSION? only for strings

This commit is contained in:
eknauel
2005-08-10 18:33:33 +00:00
parent 3b6c77f553
commit 7ff7ef196b
+1 -1
View File
@@ -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)