Marlin_Firmware/buildroot/bin/pins_set
2016-06-11 02:55:09 +01:00

4 lines
92 B
Bash
Executable File

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