1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-05-21 13:20:53 -05:00

Build: avoid awk warning in version extraction

This commit is contained in:
Mounir IDRASSI
2026-05-21 23:31:45 +09:00
parent c3ce2db9ac
commit 1fd2fb06cd
+2 -1
View File
@@ -106,7 +106,8 @@ FUSE_LIBS = $(shell $(PKG_CONFIG) $(VC_FUSE_PACKAGE) --libs)
#------ Executable ------ #------ Executable ------
export TC_VERSION := $(shell awk -F '"' '/^[[:space:]]*\#define[[:space:]]+VERSION_STRING[[:space:]]*"/ { print $$2; exit }' ../Common/Tcdefs.h) HASH_CHAR := \#
export TC_VERSION := $(shell awk -F '"' '/^[[:space:]]*$(HASH_CHAR)define[[:space:]]+VERSION_STRING[[:space:]]*"/ { print $$2; exit }' ../Common/Tcdefs.h)
#------ Linux package naming ------ #------ Linux package naming ------
ifeq "$(PLATFORM)" "Linux" ifeq "$(PLATFORM)" "Linux"