mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-30 21:58:06 +00:00
Fix use_example_configs handling spaces in path
This commit is contained in:
parent
e8d3ea803d
commit
72a047d549
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
eval "cp Marlin/example_configurations/${1}/Configuration* Marlin/"
|
||||
restore_configs
|
||||
|
||||
if [ -f "Marlin/example_configurations/${1}/_Bootscreen.h" ]; then
|
||||
cp "Marlin/example_configurations/${1}/_Bootscreen.h" Marlin/
|
||||
cp Marlin/example_configurations/"$@"/Configuration* Marlin/
|
||||
|
||||
if [ -f "Marlin/example_configurations/$@/_Bootscreen.h" ]; then
|
||||
cp "Marlin/example_configurations/$@/_Bootscreen.h" Marlin/
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue