James
James
Hi @Fengqiv Following up on this, any further finding from your side? I still cannot think of a reason that would explain this behavior, besides an Artifactory server that is...
Hi @GregDomjan Thanks for your report. This is a bit unexpected, those scripts are massively used. Is it possible that you are using a different shell? Can you please try...
This is still surprising, I guess there might be something different in the AIX shells, maybe the shell version (old one?) or something like that. Do you know if there...
Some quick feedback, not sure if it does make a difference regarding the error that you are seeing. The scripts are not intended to be executed, they will not work...
> Is my understanding correct it's actually cmake calling the script in this case via /bin/sh in some way, or is conan reporting a description of trying to perform cmake...
> /bin/sh: 0403-057 Syntax error: `;' is not expected. But it seems that you are using ``sh``. Can you please try with a ``bash`` shell?
As an extra bit of information, I have tested the above: ``` for v in do echo $v done ``` in my Ubuntu, both with bash and the default sh...
> Trying with newer korn 93 shell, problem is avoided That is good news, it sounds that the default korn shell is the older one, and the syntax support was...
Following up on some staled tickets. Checked with the team, this seems very niche use case to consider it for the default script generators. For generic use cases, Conan now...
We will try the approach with CMakeDeps generator: https://github.com/conan-io/conan/pull/17111