Marlin-Ai3M/buildroot/bin/use_example_configs

10 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