Less greedy regex in travis helper scripts

This commit is contained in:
Scott Lahteine
2016-05-26 21:04:32 -07:00
parent 189e60db55
commit 2805bf3d82
6 changed files with 6 additions and 6 deletions

View File

@ -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 +$2 +\)[^ ]*$/\1 $3/g' Marlin/pins_$1.h"