...
This commit is contained in:
2
Makefile
2
Makefile
@@ -21,7 +21,7 @@ current_date=$(shell date "+%Y-%m-%d %H:%M:%S")
|
||||
# 文件路径
|
||||
vfile=$(extra_dir)/emsVersion
|
||||
# 读取版本信息
|
||||
version=$(shell grep "Version:" $(vfile) | awk '{print $$3}')
|
||||
version=$(shell grep "Version:" $(vfile) | awk -F' ' '{print $$2}')
|
||||
|
||||
print-version:
|
||||
@echo "Version: $(version)"
|
||||
|
||||
Reference in New Issue
Block a user