functions.sh: unset "build_step_files" var to prevent loading same files if no files found on another run

This commit is contained in:
Jason Mehring 2015-12-23 05:16:24 -05:00
parent b61fdaf843
commit b4fbcb8071

View File

@ -419,6 +419,7 @@ getFileLocations() {
buildStep() { buildStep() {
local filename="$1" local filename="$1"
local suffix="$2" local suffix="$2"
unset build_step_files
info "Locating buildStep files: ${filename##*/} suffix: ${suffix}" info "Locating buildStep files: ${filename##*/} suffix: ${suffix}"
getFileLocations "build_step_files" "${filename}" "${suffix}" getFileLocations "build_step_files" "${filename}" "${suffix}"