Skip to content

Commit 25824c9

Browse files
author
James DeFelice
committed
make: Strip /vXYZ from golang import path.
Fixes #273
1 parent 7061dc2 commit 25824c9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/go/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export PATH := $(shell pwd):$(PATH)
8484
########################################################################
8585
CSI_PROTO := ../../csi.proto
8686
CSI_PKG_ROOT := github.com/container-storage-interface/spec
87-
CSI_PKG_SUB := $(shell cat $(CSI_PROTO) | sed -n -e 's/^package.\([^;]*\);$$/\1/p'|tr '.' '/')
87+
CSI_PKG_SUB := $(shell cat $(CSI_PROTO) | sed -n -e 's/^package.\([^;]*\).v[0-9]\+;$$/\1/p'|tr '.' '/')
8888
CSI_BUILD := $(CSI_PKG_SUB)/.build
8989
CSI_GO := $(CSI_PKG_SUB)/csi.pb.go
9090
CSI_A := csi.a
File renamed without changes.

0 commit comments

Comments
 (0)