Skip to content

Commit

Permalink
Fix patch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Nov 4, 2024
1 parent 3b935dc commit 2fcfc37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ go.mod:

$(GO_DEPS): go.mod $(PATCHES) swsscommon_wrap
$(GO) mod vendor

# Apply patch from sonic-mgmt-common, ignore glog.patch because glog version changed
sed -i 's/patch -d ${DEST_DIR}\/github.com\/golang\/glog/#patch -d ${DEST_DIR}\/github.com\/golang\/glog/g' $(MGMT_COMMON_DIR)/patches/apply.sh
$(MGMT_COMMON_DIR)/patches/apply.sh vendor
sed -i 's/#patch -d ${DEST_DIR}\/github.com\/golang\/glog/patch -d ${DEST_DIR}\/github.com\/golang\/glog/g' $(MGMT_COMMON_DIR)/patches/apply.sh

touch $@

go-deps: $(GO_DEPS)
Expand Down

0 comments on commit 2fcfc37

Please sign in to comment.