|
@@ -2,7 +2,13 @@
|
2
|
2
|
|
3
|
3
|
restore_configs
|
4
|
4
|
|
5
|
|
-cp Marlin/src/config/examples/"$@"/Configuration* Marlin/
|
|
5
|
+if [ -f "Marlin/src/config/examples/$@/Configuration.h" ]; then
|
|
6
|
+ cp "Marlin/src/config/examples/$@/Configuration.h" Marlin/
|
|
7
|
+fi
|
|
8
|
+
|
|
9
|
+if [ -f "Marlin/src/config/examples/$@/Configuration_adv.h" ]; then
|
|
10
|
+ cp "Marlin/src/config/examples/$@/Configuration_adv.h" Marlin/
|
|
11
|
+fi
|
6
|
12
|
|
7
|
13
|
if [ -f "Marlin/src/config/examples/$@/_Bootscreen.h" ]; then
|
8
|
14
|
cp "Marlin/src/config/examples/$@/_Bootscreen.h" Marlin/
|