vocabs.metadata.resources: don't try to expand resource patterns for vocabs without a resources.txt

db4
Joe Groff 2010-02-14 09:59:36 -08:00
parent 8a4fb8cbce
commit 072dd3b0d0
1 changed files with 2 additions and 1 deletions

View File

@ -21,4 +21,5 @@ PRIVATE>
] with-directory-tree-files ;
: vocab-resource-files ( vocab -- filenames )
dup vocab-resources expand-vocab-resource-files ;
dup vocab-resources
[ drop f ] [ expand-vocab-resource-files ] if-empty ;