0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-18 15:39:31 +00:00
MarlinFirmware/buildroot/bin/opt_set
2017-09-20 19:48:21 -05:00

3 lines
107 B
Bash
Executable file

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