Slightly simplify a conditional.

@algernon do you see any gotcha with this change?
pull/264/head
Jesse Vincent 7 years ago committed by Gergely Nagy
parent 110b2795f0
commit 693589b1ef

@ -106,9 +106,8 @@ BOOTLOADER_PATH="${BOOTLOADER_PATH:-${BOARD_HARDWARE_PATH}/keyboardio/avr/bootlo
ARDUINO_TOOLS_PARAM="-tools ${ARDUINO_TOOLS_PATH}"
if [ -z "${ARDUINO_TOOLS_PATH}" ]; then
ARDUINO_TOOLS_PARAM=""
if [ ! -z "${ARDUINO_TOOLS_PATH}" ]; then
ARDUINO_TOOLS_PARAM="-tools ${ARDUINO_TOOLS_PATH}"
fi
if [ ! -z "${AVR_GCC_PREFIX}" ]; then

Loading…
Cancel
Save