Skip to content

Commit d3c088b

Browse files
committed
Fix for latest esp32 Arduino
1 parent 4562c03 commit d3c088b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: tools/parse_arduino.pl

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ sub multi_com {
175175
$fs_upload_com =~ s/(.+ --flash_size \S+) .+/$1 \$(SPIFFS_START) \$(FS_IMAGE)/;
176176
print "FS_UPLOAD_COM?=$fs_upload_com\n";
177177
$val = multi_com('recipe\.hooks*\.prebuild.*\.pattern');
178+
$val =~ s#/usr/bin/env ##g;
178179
$val =~ s/bash -c "(.+)"/$1/g;
179180
$val =~ s/(#define .+0x)(\`)/"\\$1\"$2/;
180181
print "PREBUILD=$val\n";

0 commit comments

Comments
 (0)