Correct if-statement

This commit is contained in:
ThreeFx 2017-08-20 00:32:35 +02:00 committed by Jack Humbert
parent a553dcba5a
commit 8341068299

View File

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