From 08468f6e3fa9a95d2084bd82983a399227672c98 Mon Sep 17 00:00:00 2001 From: CamDavidsonPilon Date: Tue, 20 Aug 2024 20:33:06 -0400 Subject: [PATCH] fix update script --- pioreactor/tests/conftest.py | 2 ++ update_scripts/upcoming/update.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pioreactor/tests/conftest.py b/pioreactor/tests/conftest.py index c6d72fbc..418c0720 100644 --- a/pioreactor/tests/conftest.py +++ b/pioreactor/tests/conftest.py @@ -6,6 +6,8 @@ import pytest +from pioreactor.cli import run + @pytest.fixture(autouse=True) def run_around_tests(request): diff --git a/update_scripts/upcoming/update.sh b/update_scripts/upcoming/update.sh index 232d87cf..488eaf6d 100644 --- a/update_scripts/upcoming/update.sh +++ b/update_scripts/upcoming/update.sh @@ -91,5 +91,5 @@ sudo sed -i 's/create 0660 pioreactor pioreactor/create 0666 pioreactor pioreact # update firmware to 0.3 -sudo cp "$SCRIPT_DIR"/main.elf /usr/local/bin/main.elf || sudo wget https://github.com/Pioreactor/pico-build/releases/download/0.3/main.elf -o /usr/local/bin/main.elf +sudo cp "$SCRIPT_DIR"/main.elf /usr/local/bin/main.elf || sudo wget https://github.com/Pioreactor/pico-build/releases/download/0.3/main.elf -O /usr/local/bin/main.elf sudo systemctl restart load_rp2040.service || :