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)
|
|
|
|
|
2016-03-23 06:32:42 +01:00
|
|
|
for opt in "$@" ; do
|
2018-05-16 05:22:03 +02:00
|
|
|
eval "${SED} -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/Configuration.h"
|
2016-03-23 06:32:42 +01:00
|
|
|
done
|
2018-11-19 02:58:02 +01:00
|
|
|
|
|
|
|
for opt in "$@" ; do
|
|
|
|
eval "${SED} -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/Configuration_adv.h"
|
|
|
|
done
|