mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-03-04 09:04:42 -07:00
Improves travis buildroot regexp
This commit is contained in:
parent
bf8710d522
commit
280af07b4c
7 changed files with 11 additions and 6 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
eval "sed -i 's/\(#define +$2 +\)[^ ]*$/\1 $3/g' Marlin/pins_$1.h"
|
||||
eval "sed -i 's/\(#define \b${2}\b\).*$/\1 ${3}/g' Marlin/pins_${1}.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue