Marlin_Firmware/buildroot/bin/opt_disable
2016-05-10 03:37:17 +01:00

6 lines
129 B
Bash

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