Skip to content

Commit

Permalink
fix bug with emulator install script (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniszewski committed Aug 5, 2019
1 parent e43d7a4 commit b3a50c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/install_emulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ data=$(curl -s https://api.github.com/repos/${EMULATOR_REPO}/releases/latest)
bin_url=$(echo ${data} | jq '.assets[] | select(.name | contains("linux_amd64")) | .url ' | tr -d '"')

# Download the binary
curl -L -H "Accept: application/octet-stream" -o ${EMULATOR_BIN} ${bin_url}
curl -L -H "Accept: application/octet-stream" ${bin_url} | tar -xz && mv synse-emulator-plugin ${EMULATOR_BIN}
chmod +x ${EMULATOR_BIN}

if [[ "$EMULATOR_OUT" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion emulator/config/device/lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ devices:
metadata:
model: emul8-lock
outputs:
- type: lock.state
- type: lock.status
instances:
- info: Synse Door Lock
location: r1vec
Expand Down

0 comments on commit b3a50c4

Please sign in to comment.