Skip to content

Add function create_array_from_string

  • It takes as input the name of a variable string VAR_NAME.
  • It creates the indexed array VAR_NAME_array with the elements in VAR_NAME splitted by spaces.

Use it to create arrays from the string variables:

RPMBUILD_WITH, RPMBUILD_WITHOUT and RPMBUILD_WITHOUT_NATIVE_TOOLS.

Edited by Tino Calancha

Merge request reports