From d53f8fe9e47bc35218351d23052778286d4d256c Mon Sep 17 00:00:00 2001 From: serg3295 <75196080+serg3295@users.noreply.github.com> Date: Sun, 22 Dec 2024 01:29:52 +0300 Subject: [PATCH] Fix the esp32 build on Debian (#3675) --- components/modules/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/modules/CMakeLists.txt b/components/modules/CMakeLists.txt index 18cdb494..06b2ecaf 100644 --- a/components/modules/CMakeLists.txt +++ b/components/modules/CMakeLists.txt @@ -254,7 +254,7 @@ execute_process( COMMAND grep "^lfs,.*" ${PROJECT_DIR}/components/platform/partitions.csv COMMAND cut -d, -f5 COMMAND tr -d " " -COMMAND awk "{print strtonum( $1 )}" +COMMAND xargs printf "%d" OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE buildinfo_lfs_size )