Fix PICO_SDK_PATH environment variable in build.sh

This commit is contained in:
David Kuder 2023-04-17 00:30:27 -04:00
parent f2e41270f9
commit 912c4992bd

View File

@ -1,7 +1,7 @@
#!/bin/bash
if [ -z ${PICO_SDK:+x} ]; then
echo You must set PICO_SDK to the path where you downloaded https://github.com/raspberrypi/pico-sdk.git
if [ -z ${PICO_SDK_PATH:+x} ]; then
echo You must set PICO_SDK_PATH to the path where you downloaded https://github.com/raspberrypi/pico-sdk.git
exit 1
fi