utils: Strip duplicates from search path.

* guix/build/utils.scm (search-path-as-list): Delete duplicate input
  directories before searching.
This commit is contained in:
Eric Bavier 2015-02-04 09:48:39 -06:00
parent ce7155d5dd
commit d5b3de6af2
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ for under the directories designated by FILES. For example:
(list file) (list file)
'()))))) '())))))
files)) files))
input-dirs)) (delete-duplicates input-dirs)))
(define (list->search-path-as-string lst separator) (define (list->search-path-as-string lst separator)
(string-join lst separator)) (string-join lst separator))