You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
350 B
Bash

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