summaryrefslogtreecommitdiff
path: root/indra/llxuixml/llregistry.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-02-10 16:45:18 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-02-10 16:45:18 -0500
commitacd46062fd2edf4b45ab646cbacaf865b169ec30 (patch)
treed1d0582ae3e7e7b88ff9f6401fcb1f32630ff3bb /indra/llxuixml/llregistry.h
parent9011b04496796d7e51c20af0241ec05796e1ccac (diff)
Eliminate ManifestError for wildcards matching 0 files.
Turns out that some (many?) wildcard LLManifest.path(wildcard) calls are "just in case": sweep up any (e.g.) "*.tga" files there may be, but no problem if there are none. Change path() logic so it tries the next tree (source, artwork, build) if either a specific (non-wildcard) filename doesn't exist, as now, OR if a wildcard matches 0 files in the current tree. This continues to support "just in case" wildcards, while permitting wildcards to work in the artwork and build trees as well as the source tree. Use a more specific exception than ManifestError for missing file. Only in that case should we try the next tree. Any other ManifestError should propagate.
Diffstat (limited to 'indra/llxuixml/llregistry.h')
0 files changed, 0 insertions, 0 deletions