Skip to content

Commit

Permalink
Merge pull request #895 from adriangonz/sed-macos
Browse files Browse the repository at this point in the history
Replace sed flag incompatible with macOS
  • Loading branch information
seldondev authored Oct 1, 2019
2 parents 146bbaf + 263bd8d commit f639509
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proto/k8s/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ SHELL=/bin/bash

create_protos:
./create-k8s-protos.sh
sed --in-place 's|import "k8s.io/apiextensions-apiserver/|//import "k8s.io/apiextensions-apiserver/|' k8s.io/api/core/v1/generated.proto
sed -i.bak 's|import "k8s.io/apiextensions-apiserver/|//import "k8s.io/apiextensions-apiserver/|' k8s.io/api/core/v1/generated.proto
rm k8s.io/api/core/v1/generated.proto.bak

clean:
@rm -rfv k8s.io
Expand Down

0 comments on commit f639509

Please sign in to comment.