muele-marlin/buildroot/bin/use_example_configs

10 lines
243 B
Plaintext
Raw Normal View History

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