Fix/improve configs build script (#21086)

This commit is contained in:
X-Ryl669
2021-02-17 01:41:00 +01:00
committed by GitHub
parent f2b9becd7e
commit 7b23f41fd4
4 changed files with 83 additions and 69 deletions

View File

@ -6,7 +6,6 @@
# mftest [name] [index] [-y] Set config options and optionally build a test
#
MFINFO=$(mfinfo) || exit 1
[[ -d Marlin/src ]] || { echo "Please 'cd' to the Marlin repo root." ; exit 1 ; }
perror() { echo -e "$0: \033[0;31m$1 -- $2\033[0m" ; }
@ -37,7 +36,7 @@ env shortcuts: tree due esp lin lpc|lpc8 lpc9 m128 m256|mega stm|f1 f4 f7 s6 tee
TESTPATH=buildroot/tests
STATE_FILE=$( echo ./.pio/.mftestrc )
STATE_FILE="./.pio/.mftestrc"
SED=$(which gsed || which sed)
shopt -s extglob nocasematch