Skip to content

Commit

Permalink
source env.sh on start
Browse files Browse the repository at this point in the history
  • Loading branch information
jh-bate committed Dec 13, 2017
1 parent 54f6b0a commit 06d6a43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
rm -rf dist
mkdir dist
go build -o dist/hydrophone hydrophone.go
cp env.sh dist/
cp start.sh dist/
3 changes: 2 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh -eu

exec ./hydrophone
source env.sh
exec ./hydrophone

0 comments on commit 06d6a43

Please sign in to comment.