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