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