bitrise-io / envman

Environment variable manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with special characters

pballada opened this issue · comments

commented

Even seems to save it correctly, I'm having issues accessing later to the variable stored, some characters are missing when I retrieve it.

Let's say I want to save Rick'"$@Morty

I execute:
envman add --key MY_TEST_ENV_KEY --value 'Rick'\''"$@Morty'

Doing envman print I get correctly:
MY_TEST_ENV_KEY: Rick'"$@Morty

While doing:
envman run bash -c 'echo "$MY_TEST_ENV_KEY"'

I do get:
Rick'"Morty

So $ and @ got missing.

What I'm doing wrong?

commented

I ended writing and reading a file by myself.