IBM / cloud-pak-deployer

Configuration-based installation of OpenShift and Cloud Pak for Data/Integration/Watson AIOps on various private and public cloud infrastructure providers. Deployment attempts to achieve the end-state defined in the configuration. If something fails along the way, you only need to restart the process to continue the deployment.
https://ibm.github.io/cloud-pak-deployer/
Apache License 2.0
140 stars 69 forks source link

Syntax Error in cp4d-olm-fix.sh: Unexpected EOF and Unmatched Quotation Mark #806

Open luigimolinaro opened 1 month ago

luigimolinaro commented 1 month ago

Describe the bug
When running the cp4d-olm-fix.sh script, it fails due to a syntax error caused by an unexpected EOF (End of File). This appears to be related to a missing or mismatched quotation mark ("), as indicated by the following error messages:

./cp4d-olm-fix.sh: line 112: unexpected EOF while looking for matching `"' 
./cp4d-olm-fix.sh: line 117: syntax error: unexpected end of file

To Reproduce
Steps to reproduce the behavior:

  1. Run the script cp4d-olm-fix.sh on a terminal.
  2. The error occurs during execution, particularly around line 112 and line 117.
  3. Observe the error messages indicating an unexpected EOF and syntax error.

Expected behavior
The script should execute without errors, completing the intended operation without any syntax issues.

luigimolinaro commented 1 month ago

Also "cp4d-olm-status.sh" is affected

./cp4d-olm-status.sh
./cp4d-olm-status.sh: line 16: unexpected EOF while looking for matching `"'
./cp4d-olm-status.sh: line 17: syntax error: unexpected end of file