2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-18 01:32:11 +00:00
Sean Chittenden fa0d388ef1 Don't assume /bin/bash is installed on all OSes
Use `/usr/bin/env bash` where appropriate.
2016-02-02 15:16:49 -08:00

14 lines
202 B
Bash
Executable File

#!/usr/bin/env bash
grep GenerateUUID consul/state/state_store.go
RESULT=$?
if [ $RESULT -eq 0 ]; then
exit 1
fi
grep GenerateUUID consul/fsm.go
RESULT=$?
if [ $RESULT -eq 0 ]; then
exit 1
fi