Less greedy regex in travis helper scripts
This commit is contained in:
parent
189e60db55
commit
2805bf3d82
6 changed files with 6 additions and 6 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
eval "sed -i 's/\(#define *$1\) *.*$/\1 $2/g' Marlin/Configuration_adv.h"
|
||||
eval "sed -i 's/\(#define +$1 +\)[^ ]*$/\1 $2/g' Marlin/Configuration_adv.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue