diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0e7015975..bc9bde0db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -163,9 +163,9 @@ To build and install your changes on device, perform the following steps: ``` 1. On the device, clone the TinyPilot repo to a temporary directory. 1. Check out the branch that has your changes. -1. Run the [`dev-scripts/install-from-source`](dev-scripts/install-from-source) script to build and install your branch's code. For example: +1. Run the [`dev-scripts/device/install-from-source`](dev-scripts/device/install-from-source) script to build and install your branch's code. For example: ```bash - sudo dev-scripts/install-from-source + sudo dev-scripts/device/install-from-source ``` ### Installing a TinyPilot bundle @@ -188,7 +188,7 @@ curl \ --silent \ --show-error \ --location \ - https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/dev-scripts/install-bundle | \ + https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/dev-scripts/device/install-bundle | \ sudo bash -s -- \ url-to-bundle-file # replace this line with your bundle URL ``` diff --git a/dev-scripts/install-bundle b/dev-scripts/device/install-bundle similarity index 100% rename from dev-scripts/install-bundle rename to dev-scripts/device/install-bundle diff --git a/dev-scripts/install-from-source b/dev-scripts/device/install-from-source similarity index 95% rename from dev-scripts/install-from-source rename to dev-scripts/device/install-from-source index 9122a8361..a05b41359 100755 --- a/dev-scripts/install-from-source +++ b/dev-scripts/device/install-from-source @@ -45,4 +45,4 @@ mv "${LATEST_DEBIAN_PACKAGE}" ./bundler/bundle/ LATEST_INSTALL_BUNDLE="${PWD}/$(ls -t bundler/dist/tinypilot*.tgz | head -n 1)" readonly LATEST_INSTALL_BUNDLE -sudo ./dev-scripts/install-bundle "${LATEST_INSTALL_BUNDLE}" +sudo ./dev-scripts/device/install-bundle "${LATEST_INSTALL_BUNDLE}"