make sure SKETCH_DIR is set before we use it

pull/818/head
Andre Arko 5 years ago
parent 0264e77396
commit c0163c83f2
No known key found for this signature in database
GPG Key ID: BBE521252B9D156A

@ -297,6 +297,8 @@ maybe_build () {
if [ ! -e "${HEX_FILE_PATH}" ]; then
build "$@"
else
SKETCH_DIR="$(find_sketch)"
fi
}

Loading…
Cancel
Save