Commit 0cde2f69 authored by gsell's avatar gsell

bin/manage_variants:

- added a first version
parent e36ef9af
#!/bin/bash
declare buildblock=$1
declare variants=$2
declare -r OS=$(uname -s)
while read versions release oss dependencies; do
[[ "${oss}" =~ "${OS}" ]] || continue
versions_a=( ${versions//,/ } )
dependencies_a=( ${dependencies//,/ } )
for version in "${versions_a[@]}"; do
"${buildblock}" "${version}" --release=${release} "${dependencies_a[@]/#/--with=}"
done
done < "${variants}"
\ No newline at end of file
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