Commit 57d31662 authored by Luca Giambonini's avatar Luca Giambonini

an other try to fix error "bad substitution"

parent 3e7c340c
......@@ -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