Skip to content

Commit d53f8fe

Browse files
authored
Fix the esp32 build on Debian (#3675)
1 parent 3dc3dac commit d53f8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/modules/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ execute_process(
254254
COMMAND grep "^lfs,.*" ${PROJECT_DIR}/components/platform/partitions.csv
255255
COMMAND cut -d, -f5
256256
COMMAND tr -d " "
257-
COMMAND awk "{print strtonum( $1 )}"
257+
COMMAND xargs printf "%d"
258258
OUTPUT_STRIP_TRAILING_WHITESPACE
259259
OUTPUT_VARIABLE buildinfo_lfs_size
260260
)

0 commit comments

Comments
 (0)