Removed stripping out code of colons as not required

This commit is contained in:
Alexander Hyett 2017-09-26 22:22:01 +01:00
parent 2dd4da3c24
commit 8ab74d8ab6
2 changed files with 2 additions and 2 deletions

View file

@ -5,4 +5,4 @@ services:
build: .
container_name: recurring-console
environment:
- CRON_Console:OutputString=NewTestString
- CRON_Console__OutputString=NewTestString

View file

@ -1,5 +1,5 @@
#!/bin/bash
echo '#!/bin/bash' > /app/set_env.sh
printenv | sed '/^affinity:container/ d' | sed -r ':b; s/^([^=]*):/\1__/g; tb;' | sed -r 's/^([a-zA-Z_]+[a-zA-Z0-9_-]*)=(.*)$/export \1="\2"/g' >> /app/set_env.sh
printenv | sed '/^affinity:container/ d' | sed -r 's/^([a-zA-Z_]+[a-zA-Z0-9_-]*)=(.*)$/export \1="\2"/g' >> /app/set_env.sh
chmod +x /app/set_env.sh