From c4b88333c928dc5228f68c4f05363afafb8ec235 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Wed, 19 Sep 2018 11:37:01 -0400 Subject: [PATCH] Fix make proto substitutions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9e1a14daf..06ee33320 100644 --- a/Makefile +++ b/Makefile @@ -147,7 +147,7 @@ proto: protoc helper/identity/types.proto --go_out=plugins=grpc:../../.. protoc builtin/logical/database/dbplugin/*.proto --go_out=plugins=grpc:../../.. protoc logical/plugin/pb/*.proto --go_out=plugins=grpc:../../.. - sed -i -e 's/Idp/IDP/' -e 's/Url/URL/' -e 's/Id/ID/' -e 's/EntityId/EntityID/' -e 's/Api/API/' -e 's/Qr/QR/' -e 's/Totp/TOTP/' -e 's/Mfa/MFA/' -e 's/Pingid/PingID/' -e 's/protobuf:"/sentinel:"" protobuf:"/' -e 's/namespaceId/namespaceID/' -e 's/Ttl/TTL/' helper/identity/types.pb.go helper/storagepacker/types.pb.go logical/plugin/pb/backend.pb.go logical/identity.pb.go + sed -i -e 's/Idp/IDP/' -e 's/Url/URL/' -e 's/Id/ID/' -e 's/IDentity/Identity/' -e 's/EntityId/EntityID/' -e 's/Api/API/' -e 's/Qr/QR/' -e 's/Totp/TOTP/' -e 's/Mfa/MFA/' -e 's/Pingid/PingID/' -e 's/protobuf:"/sentinel:"" protobuf:"/' -e 's/namespaceId/namespaceID/' -e 's/Ttl/TTL/' helper/identity/types.pb.go helper/storagepacker/types.pb.go logical/plugin/pb/backend.pb.go logical/identity.pb.go sed -i '1s;^;// +build !enterprise\n;' physical/types.pb.go sed -i '1s;^;// +build !enterprise\n;' helper/identity/mfa/types.pb.go