This repository has been archived on 2022-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Marlin-Artillery-M600/buildroot/bin/use_example_configs

10 lines
243 B
Text
Raw Normal View History

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