Skip to content

Commit 2a2ba6c

Browse files
author
Evan Benn
committed
Fix some whitespace quoting errors
1 parent 1ff656c commit 2a2ba6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pico_setup.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fail() {
147147

148148
validate_git_repo() {
149149
# tests that the given relative path exists and is a git repo
150-
git -C ${TARGET_DIR}/${1} status >& /dev/null || fail
150+
git -C "${TARGET_DIR}/${1}" status >& /dev/null || fail
151151
}
152152

153153
validate_toolchain_linux() {
@@ -365,13 +365,13 @@ validate_pico_examples() {
365365
validate_git_repo pico-examples
366366

367367
# test that blink is built
368-
test -f ${TARGET_DIR}/pico-examples/build/blink/blink.uf2 || fail
368+
test -f "${TARGET_DIR}/pico-examples/build/blink/blink.uf2" || fail
369369

370370
# test that hello_serial is built
371-
test -f ${TARGET_DIR}/pico-examples/build/hello_world/serial/hello_serial.uf2 || fail
371+
test -f "${TARGET_DIR}/pico-examples/build/hello_world/serial/hello_serial.uf2" || fail
372372

373373
# test that hello_usb is built
374-
test -f ${TARGET_DIR}/pico-examples/build/hello_world/usb/hello_usb.uf2 || fail
374+
test -f "${TARGET_DIR}/pico-examples/build/hello_world/usb/hello_usb.uf2" || fail
375375
}
376376

377377
validate_pico_playground() {

0 commit comments

Comments
 (0)