Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
Signed-off-by: NimishaS <[email protected]>
  • Loading branch information
MSys authored and NimishaS committed Jan 25, 2017
1 parent b2ae113 commit b6e3ddd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ChefExtensionHandler/bin/parse_env_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
with open(sys.argv[1]) as data_file:
data = json.load(data_file, strict=False)
data = data['runtimeSettings'][0]['handlerSettings']['publicSettings']['environment_variables']
comands=""
commands=""
for key, value in data.items():
comands=comands+'export '+key+'="'+value+'";'
print comands
commands=commands+'export '+key+'="'+value+'";'
print commands
4 changes: 2 additions & 2 deletions ChefExtensionHandler/bin/shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ get_file_path_to_parse_env_variables(){
}

export_env_vars() {
comands="`python $path_to_parse_env_variables \"$1\"`"
eval $comands
commands="`python $path_to_parse_env_variables \"$1\"`"
eval $commands
}

read_environment_variables(){
Expand Down

0 comments on commit b6e3ddd

Please sign in to comment.