mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-08 22:34:59 -06:00
Improve use_example_configs script
This commit is contained in:
parent
26208a5c2f
commit
8653cedee4
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,13 @@
|
|||
|
||||
restore_configs
|
||||
|
||||
cp Marlin/src/config/examples/"$@"/Configuration* Marlin/
|
||||
if [ -f "Marlin/src/config/examples/$@/Configuration.h" ]; then
|
||||
cp "Marlin/src/config/examples/$@/Configuration.h" Marlin/
|
||||
fi
|
||||
|
||||
if [ -f "Marlin/src/config/examples/$@/Configuration_adv.h" ]; then
|
||||
cp "Marlin/src/config/examples/$@/Configuration_adv.h" Marlin/
|
||||
fi
|
||||
|
||||
if [ -f "Marlin/src/config/examples/$@/_Bootscreen.h" ]; then
|
||||
cp "Marlin/src/config/examples/$@/_Bootscreen.h" Marlin/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue