mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
set -x and sort the deps
This commit is contained in:
@@ -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
main.sh
1
main.sh
@@ -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
|
||||
|
||||
@@ -4,4 +4,5 @@ export FB_RUNNING_AS_SCRIPT=1
|
||||
. main.sh
|
||||
scr_name="$(bash_basename $0)"
|
||||
cmd="${scr_name//.sh/}"
|
||||
set -x
|
||||
$cmd $@
|
||||
|
||||
Reference in New Issue
Block a user