Browse Source

Improve use_example_configs script

pull/1/head
Scott Lahteine 6 years ago
parent
commit
8653cedee4
  1. 8
      buildroot/bin/use_example_configs

8
buildroot/bin/use_example_configs

@ -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…
Cancel
Save