Firmware/buildroot/bin/opt_disable
2016-05-20 02:26:13 +01:00

6 lines
129 B
Bash
Executable File

#!/usr/bin/env bash
for opt in "$@" ; do
eval "sed -i 's/\(\/\/ *\)*\(\#define *$opt\)/\/\/\2/g' Marlin/Configuration.h"
done