Skip to content

Commit

Permalink
fix shell dir detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Aug 24, 2011
1 parent fcabdd5 commit e34d5e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/ext/shell/extensions/cache/functions
Expand Up @@ -57,9 +57,11 @@ initialize_modules_actions_cache()
trace_filter action_detection
local _module_path _module_name _action_pair

[[ -d "${_modules_root}" ]] ||
debug search "missing modules dir '${_modules_root}'?" &&
if [[ ! -d "${_modules_root}" ]]
then
debug search "missing modules dir '${_modules_root}'?"
return 0
fi

for _module_path in $( find "${_modules_root}" -name includes -type f )
do
Expand Down

0 comments on commit e34d5e4

Please sign in to comment.