This repository has been archived on 2020-07-17. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Marlin_Ender3/buildroot/bin/pins_set
dfriedrich 60ece440f6 first
2019-03-21 10:43:51 -03:00

5 lines
136 B
Bash

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