muele-marlin/buildroot/bin/opt_enable
2017-09-20 19:48:21 -05:00

6 lines
145 B
Bash
Executable file

#!/usr/bin/env bash
for opt in "$@" ; do
eval "sed -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/src/config/Configuration.h"
done