0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-07 10:11:54 +00:00
MarlinFirmware/buildroot/bin/use_example_configs
2018-10-12 21:54:09 -05:00

19 lines
557 B
Bash
Executable file

#!/usr/bin/env bash
restore_configs
if [ -f "Marlin/src/config/examples/$@/Configuration.h" ]; then
cp "Marlin/src/config/examples/$@/Configuration.h" Marlin/
fi
if [ -f "Marlin/src/config/examples/$@/Configuration_adv.h" ]; then
cp "Marlin/src/config/examples/$@/Configuration_adv.h" Marlin/
fi
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