Merge pull request #753 from payano/v5.6.4.2

Makefile: escape grep in DRIVER_VERSION variable
This commit is contained in:
Christian Bremvåg 2020-10-16 14:37:43 +02:00 committed by GitHub
commit 958bb8da98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2297,7 +2297,7 @@ config_r:
@echo "make config" @echo "make config"
/bin/bash script/Configure script/config.in /bin/bash script/Configure script/config.in
DRIVER_VERSION = $(shell grep "#define DRIVERVERSION" include/rtw_version.h | awk '{print $$3}' | tr -d v\") DRIVER_VERSION = $(shell grep "\#define DRIVERVERSION" include/rtw_version.h | awk '{print $$3}' | tr -d v\")
dkms_install: dkms_install:
mkdir -p /usr/src/8812au-$(DRIVER_VERSION) mkdir -p /usr/src/8812au-$(DRIVER_VERSION)