Darwin-compatible buildroot/src scripts (#10760)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-05-15 22:22:44 -05:00
1 parent 2ce8047adb
commit c739943786
7 files changed
+21 -7

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env bash
eval "sed -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration.h"
SED=$(which gsed || which sed)
eval "${SED} -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration.h"