|
|
@ -90,7 +90,7 @@ fi |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
read -p "Continue? [Yn]: " do_it |
|
|
|
read -p "Continue? [Yn]: " do_it |
|
|
|
|
|
|
|
|
|
|
|
if [ -n "$do_it" ] && [ "$do_it" != "y" ]; then |
|
|
|
if [ -n "$do_it" ] && [ "$do_it" != "y" ] && [ "$do_it" != "Y" ]; then |
|
|
|
echo "Aborting..." |
|
|
|
echo "Aborting..." |
|
|
|
exit |
|
|
|
exit |
|
|
|
fi |
|
|
|
fi |
|
|
@ -108,7 +108,7 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
popd |
|
|
|
popd |
|
|
|
|
|
|
|
|
|
|
|
sed -i \ |
|
|
|
sed -i'.orig' \ |
|
|
|
-e "s/BOARD_NAME/$board/" \ |
|
|
|
-e "s/BOARD_NAME/$board/" \ |
|
|
|
-e "s/SHIELD_NAME/$shield/" \ |
|
|
|
-e "s/SHIELD_NAME/$shield/" \ |
|
|
|
-e "s/KEYBOARD_TITLE/$shield_title/" \ |
|
|
|
-e "s/KEYBOARD_TITLE/$shield_title/" \ |
|
|
@ -116,9 +116,11 @@ sed -i \ |
|
|
|
|
|
|
|
|
|
|
|
if [ "$board" == "proton_c" ]; then |
|
|
|
if [ "$board" == "proton_c" ]; then |
|
|
|
# Proton-C board still fa |
|
|
|
# Proton-C board still fa |
|
|
|
sed -i -e "s/uf2/hex/g" .github/workflows/build.yml |
|
|
|
sed -i'.orig' -e "s/uf2/hex/g" .github/workflows/build.yml |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rm .github/workflows/*.yml.orig |
|
|
|
|
|
|
|
|
|
|
|
rm -rf .git |
|
|
|
rm -rf .git |
|
|
|
git init . |
|
|
|
git init . |
|
|
|
git add . |
|
|
|
git add . |
|
|
|