]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Correct if-statement
authorThreeFx <ben@sjfiedler.de>
Sat, 19 Aug 2017 22:32:35 +0000 (00:32 +0200)
committerJack Humbert <jack.humb@gmail.com>
Sun, 20 Aug 2017 15:17:19 +0000 (11:17 -0400)
util/install_dependencies.sh

index 99368950b14cbf3622323c485e8f4bd438e83bfd..227c86f87fb39d3628c6779d69ebae37f9bcf3e2 100755 (executable)
@@ -111,7 +111,7 @@ elif [[ -n "$(type -P pkg)" ]]; then
     arm-none-eabi-binutils \
     arm-none-eabi-newlib \
     diffutils
-elif [[ -n "$(type emerge)" ]]; then
+elif [[ -n "$(type -P emerge)" ]]; then
     echo 'Please check that your gcc is built with the multilib use flag enabled.'
     emerge -vq sys-devel/crossdev
     USE="-openmp -hardened -sanitize -vtv" crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr