diff --git a/Makefile.generated_files b/Makefile.generated_files index 5198892fb6358..59cd292e26ba0 100644 --- a/Makefile.generated_files +++ b/Makefile.generated_files @@ -244,7 +244,9 @@ $(META_DIR)/$(DEEPCOPY_GEN).mk: ./cmd/libs/go2idl/deepcopy-gen \ | grep "^$(PRJ_SRC_PATH)" \ | xargs go list -e -f '{{.Dir}} {{.Dir}}/*.go'); \ - echo $$DIRECT $$INDIRECT | sed 's/ / =,/g' | tr '=,' '\n\t'; \ + echo $$DIRECT $$INDIRECT \ + | sed 's/ / \\=,/g' \ + | tr '=,' '\n\t'; \ ) | sed "s|$$(pwd -P)/||" > $@.tmp; \ cmp -s $@.tmp $@ || cat $@.tmp > $@ && rm -f $@.tmp @@ -420,7 +422,9 @@ $(META_DIR)/$(CONVERSION_GEN).mk: ./cmd/libs/go2idl/conversion-gen \ | grep "^$(PRJ_SRC_PATH)" \ | xargs go list -e -f '{{.Dir}} {{.Dir}}/*.go'); \ - echo $$DIRECT $$INDIRECT | sed 's/ / =,/g' | tr '=,' '\n\t'; \ + echo $$DIRECT $$INDIRECT \ + | sed 's/ / \\=,/g' \ + | tr '=,' '\n\t'; \ ) | sed "s|$$(pwd -P)/||" > $@.tmp; \ cmp -s $@.tmp $@ || cat $@.tmp > $@ && rm -f $@.tmp