summaryrefslogtreecommitdiffstats
path: root/util/install_dependencies.sh
diff options
context:
space:
mode:
authorThreeFx <ben@sjfiedler.de>2017-08-20 00:32:35 +0200
committerJack Humbert <jack.humb@gmail.com>2017-08-20 11:17:19 -0400
commit834106829992e6203c0e0c12678d5a290b313328 (patch)
treea14877a446473d97e583e6c80005c6183782a723 /util/install_dependencies.sh
parenta553dcba5ad000e62305b8001b5f2cf863c81935 (diff)
Correct if-statement
Diffstat (limited to 'util/install_dependencies.sh')
-rwxr-xr-xutil/install_dependencies.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/install_dependencies.sh b/util/install_dependencies.sh
index 99368950b1..227c86f87f 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