1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-25 12:57:53 +00:00
MarlinFirmware/buildroot/bin/use_example_configs
2019-03-03 16:50:56 -06:00

20 lines
469 B
Bash
Executable File

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