#| -*-Scheme-*-
-$Id: shell.scm,v 1.17 1998/10/23 05:50:20 cph Exp $
+$Id: shell.scm,v 1.18 1998/10/23 05:52:21 cph Exp $
Copyright (c) 1991-98 Massachusetts Institute of Technology
((null? (cdr results))
(if-unique
(let ((result (car results)))
- (let ((t (pathname-type result)))
- (if (memq t (os/executable-pathname-types))
- (->namestring (pathname-new-type result #f))
- result)))))
+ (if (member (pathname-type result)
+ (os/executable-pathname-types))
+ (->namestring (pathname-new-type result #f))
+ result))))
(else
(if-not-unique (compute-max-prefix results) (lambda () results))))
(not (null? results))))