Marlin_Firmware/buildroot/bin/opt_set
2017-09-21 16:27:13 -05:00

4 lines
96 B
Bash
Executable File

#!/usr/bin/env bash
eval "sed -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration.h"