Skip to content

Commit d31852d

Browse files
committed
Fix #16 - move export statement.
1 parent a8ab1fe commit d31852d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.gitpod.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
tasks:
2+
- name: Pull Images
3+
init: ./services create
4+
15
ports:
26
- name: Orion
37
description: Context Broker

services

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ waitForIoTAgent () {
120120
done
121121
}
122122

123+
export $(cat .env | grep "#" -v)
123124
command="$1"
124125
case "${command}" in
125126
"help")
@@ -153,15 +154,12 @@ case "${command}" in
153154
echo -e "Now open \033[4mhttp://localhost:3000/device/monitor\033[0m"
154155
;;
155156
"stop")
156-
export $(cat .env | grep "#" -v)
157157
stoppingContainers
158158
;;
159159
"start")
160-
export $(cat .env | grep "#" -v)
161160
./services cygnus $2
162161
;;
163162
"create")
164-
export $(cat .env | grep "#" -v)
165163
echo "Pulling Docker images"
166164
docker pull curlimages/curl
167165
${dockerCmd} -f docker-compose/cygnus-sth-comet.yml pull

0 commit comments

Comments
 (0)