set -x and sort the deps

This commit is contained in:
2025-07-29 19:30:58 -05:00
parent 7f23cb6824
commit 51b4400928
3 changed files with 4 additions and 1 deletions

View File

@@ -78,7 +78,8 @@ print_req_pkgs() {
local req_pkgs_env_name="${pkg_mgr/-/_}_pkgs"
declare -n req_pkgs="${req_pkgs_env_name}"
echo "${req_pkgs[@]}"
local sorted_req_pkgs=($(printf '%s\n' "${req_pkgs[@]}" | sort))
echo "${sorted_req_pkgs[@]}"
}
FB_FUNC_NAMES+=('print_pkg_mgr')