Open jodonnel opened 1 year ago
@jodonnel Can you please ask your customer to check if https://github.com/sap-linuxlab/community.sap_install/blob/5b920752aa818fcd9fe96ce740bffaa314baf99e/roles/sap_swpm/tasks/swpm/detect_variables.yml#L25 fixes the problem as well? It's already in the current main branch.
That code assumes that there is a space around the "equals" (=
) sign, causing the 3rd field of the output to contain the desired value.
If there is no space in this line in the customer's inifile.params file, can you please ask how this file had been created, and ask to test the following alternative code:
awk 'BEGIN{FS="="}!/^#/&&/archives.downloadBasket/{gsub (" ", "", $NF); print $NF}' inifile.params
?
Many thanks!
Writing on behalf of a customer who has been working with community roles to install Suite on HANA using advanced templates mode.
In this case, detect_variables.yml references $3 in the detect software path task:
But there appears to be no third argument passed and the download software item appears to actually be $2.
When he changes the code as follows, it corrects the problem:
Customer has moved past this issue with the above change but wanted to get it in front of the community in case others are impacted.