Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add python script to parse env variables #187

Merged
merged 4 commits into from
Jan 27, 2017

Conversation

harikesh-kolekar
Copy link

@harikesh-kolekar harikesh-kolekar commented Jan 19, 2017

No description provided.

comands=""
for key, value in data.items():
comands=comands+'export '+key+'="'+value+'";'
print comands
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*commands

}

export_env_vars() {
eval "export $1=$2"
comands="`python $path_to_parse_env_variables \"$1\"`"
eval $comands
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*commands

MSys added 2 commits January 24, 2017 16:15
Signed-off-by: NimishaS <nimisha.sharad@clogeny.com>
@NimishaS NimishaS force-pushed the harry/parse-env-var branch from e66529b to b6e3ddd Compare January 25, 2017 12:40
@NimishaS
Copy link

This looks good to me. @btm , please review.

@btm btm merged commit fdc12eb into chef-partners:master Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants