2016-03-22 10:13:38 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-05-15 23:22:03 -04:00
|
|
|
SED=$(which gsed || which sed)
|
|
|
|
|
2016-03-23 01:32:42 -04:00
|
|
|
for opt in "$@" ; do
|
2018-05-15 23:22:03 -04:00
|
|
|
eval "${SED} -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/Configuration.h"
|
2016-03-23 01:32:42 -04:00
|
|
|
done
|
2018-11-18 20:58:02 -05:00
|
|
|
|
|
|
|
for opt in "$@" ; do
|
|
|
|
eval "${SED} -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/Configuration_adv.h"
|
|
|
|
done
|