mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-09 14:55:00 -06:00
Improves travis buildroot regexp
This commit is contained in:
parent
bf8710d522
commit
280af07b4c
7 changed files with 11 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
for opt in "$@" ; do
|
||||
eval "sed -i 's/\(\/\/ *\)*\(\#define +$opt[^a-zA-Z0-9_]\)/\/\/\2/g' Marlin/Configuration.h"
|
||||
eval "sed -i 's/\([[:blank:]]*\)\(#define \b${opt}\b\)/\1\/\/\2/g' Marlin/Configuration.h"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue