1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 12:35:51 +00:00
MarlinFirmware/buildroot/bin/use_example_configs

14 lines
350 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2017-09-06 11:28:32 +00:00
restore_configs
cp Marlin/src/config/examples/"$@"/Configuration* Marlin/
2017-09-06 11:28:32 +00:00
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