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

20 lines
469 B

#!/usr/bin/env bash
restore_configs
if [ -f "config/examples/$@/Configuration.h" ]; then
cp "config/examples/$@/Configuration.h" Marlin/
fi
if [ -f "config/examples/$@/Configuration_adv.h" ]; then
cp "config/examples/$@/Configuration_adv.h" Marlin/
fi
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