From 5b843b07024c53f6ebaa8a17d9c947f6fa321b50 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 18 Nov 2024 08:27:33 -0300 Subject: [PATCH 1/2] fix: replace _file_collector Replace _file_collector by _find_based_collector. Fixes #289 --- lib/parse_artifact.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/parse_artifact.sh b/lib/parse_artifact.sh index 390e49a5..937a9bd6 100644 --- a/lib/parse_artifact.sh +++ b/lib/parse_artifact.sh @@ -364,7 +364,7 @@ _parse_artifact() "${__pa_new_output_directory}" \ "${__pa_new_output_file}" elif [ "${__pa_collector}" = "hash" ]; then - _file_collector \ + _find_based_collector \ "hash" \ "${__pa_new_path}" \ "${__pa_is_file_list}" \ @@ -382,7 +382,7 @@ _parse_artifact() "${__pa_new_output_directory}" \ "${__pa_new_output_file}" elif [ "${__pa_collector}" = "stat" ]; then - _file_collector \ + _find_based_collector \ "stat" \ "${__pa_new_path}" \ "${__pa_is_file_list}" \ From cb9d3127eccc1ce857c7f78b79594498b39ac9e5 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 18 Nov 2024 08:37:42 -0300 Subject: [PATCH 2/2] refactor: update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f24ae3c..8cbb4992 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,3 +2,6 @@ ## DEVELOPMENT VERSION +### Fixes + +- Resolves an issue where the hash and stat collectors failed to function correctly when the %user_home% variable was included in the path property ([#289](https://github.com/tclahr/uac/issues/289)).