File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,9 +209,10 @@ all: $(BUILD)/circuitpython.mjs
209209
210210# Add Blinka character (U+E000) to banner after build
211211$(BUILD ) /circuitpython.mjs : $(OBJ ) library.js $(SRC_JS )
212- @# Add Blinka character to generated mpversion.h if it doesn't have it already
213- @if [ -f $( BUILD) /genhdr/mpversion.h ] && ! grep -q ' \\uE000' $(BUILD ) /genhdr/mpversion.h; then \
214- sed -i.bak ' s/"Adafruit CircuitPython/"\\uE000 Adafruit CircuitPython/' $(BUILD ) /genhdr/mpversion.h && \
212+ @# Add Blinka character (U+E000) to generated mpversion.h if it doesn't have it already
213+ @# U+E000 in UTF-8 is: 0xEE 0x80 0x80
214+ @if [ -f $( BUILD) /genhdr/mpversion.h ] && ! grep -q ' \\xEE\\x80\\x80' $(BUILD ) /genhdr/mpversion.h; then \
215+ sed -i.bak ' s/"Adafruit CircuitPython/"\\xEE\\x80\\x80 Adafruit CircuitPython/' $(BUILD ) /genhdr/mpversion.h && \
215216 rm -f $(BUILD ) /genhdr/mpversion.h.bak; \
216217 fi
217218 $(ECHO ) " LINK $@ "
You can’t perform that action at this time.
0 commit comments