Skip to content

Commit 8af26f6

Browse files
committed
s/echo -n/printf in test-enc.mk
1 parent 9971b8b commit 8af26f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/test-enc.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tools/uart-flash-server/ufserver: FORCE
1717
@rm -f src/libwolfboot.o
1818

1919
test-enc-update: factory.bin test-app/image.bin .config tools/uart-flash-server/ufserver FORCE
20-
@echo -n "0123456789abcdef0123456789abcdef0123456789ab" > /tmp/enc_key.der
20+
@printf "0123456789abcdef0123456789abcdef0123456789ab" > /tmp/enc_key.der
2121
@$(SIGN_TOOL) $(SIGN_ARGS) test-app/image.bin $(PRIVATE_KEY) $(ENC_TEST_UPDATE_VERSION)
2222
@$(SIGN_TOOL) $(SIGN_ENC_ARGS) test-app/image.bin $(PRIVATE_KEY) $(ENC_TEST_UPDATE_VERSION)
2323
@st-flash write factory.bin 0x08000000

0 commit comments

Comments
 (0)