This repository has been archived on 2020-07-17. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Marlin_Ender3/buildroot/bin/use_example_configs
dfriedrich 60ece440f6 first
2019-03-21 10:43:51 -03:00

9 lines
230 B
Bash

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