Skip to content

Commit 6ef1a57

Browse files
committed
Ensure no double quotes in CENTOS flag
1 parent 4cbe384 commit 6ef1a57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

module/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ELFLAG := -DEL$(shell echo $(VERSION_ID) | cut -d. -f1)
1313
endif
1414

1515
ifneq (,$(findstring centos,$(ID)))
16-
CENTOSFLAG := -DCENTOS$(VERSION_ID)
16+
CENTOSFLAG := -DCENTOS$(shell echo $(VERSION_ID) | cut -d. -f1)
1717
endif
1818

1919
Raspbian := $(shell grep -Eic 'raspb(erry|ian)' /proc/cpuinfo /etc/os-release 2>/dev/null )

0 commit comments

Comments
 (0)