mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #3826 from jonboulle/scripts
scripts: enforce genproto.sh is run from repo root
This commit is contained in:
commit
e3ce605cb5
@ -5,6 +5,11 @@
|
||||
#
|
||||
set -e
|
||||
|
||||
if ! [[ "$0" =~ "scripts/genproto.sh" ]]; then
|
||||
echo "must be run from repository root"
|
||||
exit 255
|
||||
fi
|
||||
|
||||
PREFIX="github.com/coreos/etcd/Godeps/_workspace/src"
|
||||
DIRS="./wal/walpb ./etcdserver/etcdserverpb ./snap/snappb ./raft/raftpb ./storage/storagepb"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user