clean marlin 2.0.x-bugfix

This commit is contained in:
Bob E Moe
2020-01-11 17:08:20 +00:00
commit c0ed3ec64a
1844 changed files with 2037470 additions and 0 deletions

14
buildroot/bin/env_backup Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
[ -z "$1" ] || cd $1
if [ -d ".test" ]; then
printf "\033[0;31mEnvironment backup already exists!\033[0m\n"
else
mkdir .test
cp Marlin/Configuration*.h .test/
[ -f Marlin/_Bootscreen.h ] && cp Marlin/_Bootscreen.h .test/
[ -f Marlin/_Statusscreen.h ] && cp Marlin/_Statusscreen.h .test/
cp -r Marlin/src/pins .test/pins
printf "\033[0;32mEnvironment Backup created\033[0m\n"
fi