This updates the code that handles the replace_directories config option to not scan the entire install directory. The user may not have permission to access some of the directories which causes the task to fatal error.
Additionally, this PR will enforce that the config values are directories starting at the installation root. i.e. /var or /var/config are at /patch/dir/var and /patch/dir/var/config respectively.
This PR also removes the undocumented ability to specify a pattern for the config option.
This updates the code that handles the
replace_directories
config option to not scan the entire install directory. The user may not have permission to access some of the directories which causes the task to fatal error.Additionally, this PR will enforce that the config values are directories starting at the installation root. i.e.
/var
or/var/config
are at/patch/dir/var
and/patch/dir/var/config
respectively.This PR also removes the undocumented ability to specify a pattern for the config option.