I'm getting a "Failed to parse expression" error parsing the following line: eval local rsync_host=\${IMAGE_SERVER:-\${v${ver}_IMAGE_SERVER}} The red underlined part is the final closing brace (the last character on the line).