Marlin/buildroot/bin/use_example_configs
Scott Lahteine b143441251 Test CR-10S with status and bootscreen
Also fix use_example_configs
2018-07-06 21:10:27 -05:00

14 lines
350 B
Bash
Executable file

#!/usr/bin/env bash
restore_configs
cp Marlin/src/config/examples/"$@"/Configuration* Marlin/
if [ -f "Marlin/src/config/examples/$@/_Bootscreen.h" ]; then
cp "Marlin/src/config/examples/$@/_Bootscreen.h" Marlin/
fi
if [ -f "Marlin/src/config/examples/$@/_Statusscreen.h" ]; then
cp "Marlin/src/config/examples/$@/_Statusscreen.h" Marlin/
fi