Skip to content

Commit ae4033c

Browse files
leo sartrea9183756-gh
authored andcommitted
[Fixup] Remove noisy quotes in +%s date args
Can be squashed, ld complains about extra quote in date args: ld:--defsym:1: ignoring invalid character `'' in expression Signed-off-by: leo sartre <leo.sartre@e.email>
1 parent 3267ac4 commit ae4033c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Arduino/System/BoardToolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function (SetupBoardToolchain boards_namespace board_id generate_dir)
182182

183183
# Set some extra properties
184184
if (${CMAKE_HOST_UNIX})
185-
execute_process(COMMAND "date" "+'%s'" OUTPUT_VARIABLE EPOCH)
185+
execute_process(COMMAND "date" "+%s" OUTPUT_VARIABLE EPOCH)
186186
properties_set_value("ard_global" "extra.time.local" "${EPOCH}")
187187
endif()
188188

0 commit comments

Comments
 (0)