pck-update: specify target_cpu when installing build requirements for x86_64 multiarch support

This commit is contained in:
Silvan Calarco 2014-02-22 22:36:10 +01:00
parent a23800a2b6
commit c4e2f98d93

View File

@ -1990,7 +1990,7 @@ build requirement found"": \`${NOTE}$f${NORM}' ""\
# remove duplicates
buildreqs_to_install=(
$(for f in ${buildreqs_to_install[@]}; do echo $f; done | sort -u))
$(for f in ${buildreqs_to_install[@]}; do echo $f@$target_cpu; done | sort -u))
# install missing build requirements
if [[ "${buildreqs_to_install[@]}" ]]; then