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

20 lines
469 B
Text
Raw Normal View History

#!/usr/bin/env bash
2017-09-06 13:28:32 +02:00
restore_configs
if [ -f "config/examples/$@/Configuration.h" ]; then
cp "config/examples/$@/Configuration.h" Marlin/
2018-10-13 04:15:54 +02:00
fi
if [ -f "config/examples/$@/Configuration_adv.h" ]; then
cp "config/examples/$@/Configuration_adv.h" Marlin/
2018-10-13 04:15:54 +02:00
fi
2017-09-06 13:28:32 +02:00
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