From 834106829992e6203c0e0c12678d5a290b313328 Mon Sep 17 00:00:00 2001 From: ThreeFx Date: Sun, 20 Aug 2017 00:32:35 +0200 Subject: [PATCH] Correct if-statement --- util/install_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/install_dependencies.sh b/util/install_dependencies.sh index 99368950b14..227c86f87fb 100755 --- a/util/install_dependencies.sh +++ b/util/install_dependencies.sh @@ -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