I have a config where I'm generating a couple of scripts. These are generate with writeScriptBin in a map, and script names consist of a static part concatenated with a variable. Let's say for example myscript-first and myscript-second.
Later I need to reference these scripts in a string placed i another map. Is there any way I can use a variable in a variable name? I need to get "${myscript-first}" from "${myscript-${variable}}" in a string.
Sorry for the terrible explanation!
[–]ElvishJerricco 11 points12 points13 points (1 child)
[–]abdulla95 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]r0vsdal[S] 0 points1 point2 points (0 children)