Commit a5322540 authored by AlmAck's avatar AlmAck
Browse files

now is an array of PACKAGES

parent b799ba86
......@@ -167,13 +167,12 @@ 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[@]}")
sorted_packages=$(python2 ./_gitlab-ci-scripts/lib/rebuildlist-order.py ${PACKAGES[@]})
PACKAGES=("${sorted_packages[@]}")
PACKAGES=${python2 ./_gitlab-ci-scripts/lib/rebuildlist-order.py ${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