One of my project uses environmental variables defined in project settings.
More specifically, I run makefile commands that use env variables. Some of those variables have dollar ($) sign in it. They are single quoted strings (‘asdfadfasdf$0’). I escape those with double dollar ($$) on my machine, but it doesn’t work on CircleCI.
‘$0’ is replaced with ‘bash’,
’$$’ is replaced with ‘11915’
For instance I have in project settings: ENV=‘asd$0’.
In Makefile:
test:
@echo $(ENV)
output: ‘asdbash’
How to?