Commit b799ba86 authored by Luca Giambonini's avatar Luca Giambonini

we need an array in $PACKAGES

parent d09ebca1
......@@ -167,12 +167,13 @@ function get_validpgpkeys() {
# Sort packages by dependency
# reorders $PACKAGES such that dependencies are built first
function sort_packages_by_dependency() {
#local sorted_packages=()
local sorted_packages=()
#for p in "${PACKAGES[@]}"; do
# _build_add "${p}"
#done
#PACKAGES=("${sorted_packages[@]}")
PACKAGES=$(python2 ./_gitlab-ci-scripts/lib/rebuildlist-order.py ${PACKAGES[@]})
sorted_packages=$(python2 ./_gitlab-ci-scripts/lib/rebuildlist-order.py ${PACKAGES[@]})
PACKAGES=("${sorted_packages[@]}")
}
# determine the repository to build against
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment