forked from espressif/esp-idf
Merge branch 'bugfix/fix_minor_make_build_system_issue' into 'master'
make: use `shell` command to extract version string See merge request idf/esp-idf!4526
This commit is contained in:
@@ -329,7 +329,7 @@ endif
|
||||
ifeq ("$(wildcard ${IDF_PATH}/version.txt)","")
|
||||
IDF_VER_T := $(shell cd ${IDF_PATH} && git describe --always --tags --dirty)
|
||||
else
|
||||
IDF_VER_T := `cat ${IDF_PATH}/version.txt`
|
||||
IDF_VER_T := $(shell cat ${IDF_PATH}/version.txt)
|
||||
endif
|
||||
IDF_VER := $(shell echo "$(IDF_VER_T)" | cut -c 1-31)
|
||||
|
||||
|
Reference in New Issue
Block a user