From 8bdb6a625a0516f975a4fca307f0202cac435506 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 23 Nov 2019 06:39:42 +0000 Subject: [PATCH] iscsi-scst/Makefile: Fix grabbing OFED_VERS from deb version Fixes: e7ccfcf213af ("iscsi-scst/Makefile, Ubuntu: Simplify code for version querying") Signed-off-by: Ville Skytta git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8666 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/Makefile b/iscsi-scst/Makefile index 37fc134ae..c108c7f92 100644 --- a/iscsi-scst/Makefile +++ b/iscsi-scst/Makefile @@ -62,7 +62,7 @@ ifeq ($(OFED_FLAVOR),MOFED) else \ echo false; \ fi),true) - OFED_VERS=$(shell dpkg-query -W --showformat='${Version}\n' mlnx-ofed-kernel-dkms) + OFED_VERS=$(shell dpkg-query -W --showformat='$${Version}\n' mlnx-ofed-kernel-dkms) else ifeq ($(shell if { rpm -q mlnx-ofa_kernel-devel || \ rpm -q kernel-ib-devel; } >&/dev/null; then \