aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjiangxiaoming <jiangxiaoming@outlook.com>2020-12-30 15:25:15 +0800
committerxm j <jiangxiaoming@outlook.com>2021-06-22 02:47:22 +0000
commit5ab7dc45b5c4a1dbe7bff65fd9864b1c9ebb8640 (patch)
tree45d153620f21aaf924b5b8d670c5c48c80ec1de9 /build
parentbfb9a66fab43e935772806e9d2f6b0ecf7146d67 (diff)
build: vpp-ext-deps rpm version check may fail if system language is not English
Type: fix Signed-off-by: Xiaoming Jiang <jiangxiaoming@outlook.com> Change-Id: Ib691d8f66b0d6047d23a0bdc4f3d15e6380f31eb
Diffstat (limited to 'build')
-rw-r--r--build/external/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/external/Makefile b/build/external/Makefile
index 65e3dd27add..55443b0c6c9 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -106,7 +106,7 @@ endif
RPM_VER := $(PKG_VERSION)
RPM_ARCH=$(shell rpm --eval "%{_arch}" 2> /dev/null)
DEV_RPM=vpp-ext-deps-$(RPM_VER)-$(PKG_SUFFIX).$(RPM_ARCH).rpm
-INSTALLED_RPM_VER=$(shell rpm -q --queryformat '%{VERSION}-%{RELEASE}' vpp-ext-deps 2> /dev/null | grep -v "not inst")
+INSTALLED_RPM_VER=$(shell rpm -q --queryformat '%{VERSION}-%{RELEASE}' vpp-ext-deps 2> /dev/null | grep -v "vpp-ext-deps")
.PHONY: build-rpm install-rpm check-rpm