0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-18 15:39:31 +00:00
MarlinFirmware/LinuxAddons/bin/opt_disable
2016-03-22 22:33:00 -07:00

5 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