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
+2 -1
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')
+1
View File
@@ -40,6 +40,7 @@ export FB_RUNNING_AS_SCRIPT=1
. main.sh
scr_name="$(bash_basename $0)"
cmd="${scr_name//.sh}"
set -x
$cmd $@' >"${ENTRY_SCRIPT}"
chmod +x "${ENTRY_SCRIPT}"
fi
+1
View File
@@ -4,4 +4,5 @@ export FB_RUNNING_AS_SCRIPT=1
. main.sh
scr_name="$(bash_basename $0)"
cmd="${scr_name//.sh/}"
set -x
$cmd $@