2016-03-22 07:13:38 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-05-16 12:22:03 +09:00
|
|
|
SED=$(which gsed || which sed)
|
|
|
|
|
2018-09-29 18:12:03 -05:00
|
|
|
eval "${SED} -E -i 's/(\/\/)?(#define \b${1}\b).*$/\2 ${2}/g' Marlin/Configuration.h"
|
2018-11-18 19:58:02 -06:00
|
|
|
eval "${SED} -E -i 's/(\/\/)?(#define \b${1}\b).*$/\2 ${2}/g' Marlin/Configuration_adv.h"
|