Marlin_Firmware/buildroot/bin/use_example_configs

10 lines
254 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2017-09-06 06:28:32 -05:00
restore_configs
2017-09-06 06:28:32 -05:00
eval "cp Marlin/src/config/examples/${1}/Configuration* Marlin/src/config/"
if [ -f "Marlin/src/config/examples/${1}/_Bootscreen.h" ]; then
cp "Marlin/src/config/examples/${1}/_Bootscreen.h" Marlin/src/config/
fi