From dac28d3c1b2db77f11469393d84e82c2f8ba7833 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 6 Jan 2005 04:13:37 +0000 Subject: [PATCH] an unspecified path should implicitly contain '.' --- dtool/src/prc/configVariableSearchPath.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dtool/src/prc/configVariableSearchPath.cxx b/dtool/src/prc/configVariableSearchPath.cxx index ddb5713f6c..3c4a4a9ef4 100644 --- a/dtool/src/prc/configVariableSearchPath.cxx +++ b/dtool/src/prc/configVariableSearchPath.cxx @@ -55,6 +55,11 @@ reload_search_path() { } _value.append_path(_postfix); + if (_value.is_empty()) { + // An empty search path implicitly has "." on it. + _value.append_directory("."); + } + _value_seq = _core->get_value_seq(); _value_stale = false; }