From 80149d5ac033e6c8aad6a5947f9ac78f448c8ee6 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Sat, 4 Mar 2017 00:09:30 +0300 Subject: [PATCH] Fix copy-paste error https://github.com/hamishcoleman/armbian-lib/commit/2a26ae43e1930816736ee885498274c4f0b68d46 --- common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.sh b/common.sh index 3d373b0dba..d864cb8b2e 100644 --- a/common.sh +++ b/common.sh @@ -51,7 +51,7 @@ compile_uboot() if [[ -z $toolchain && -n $UBOOT_NEEDS_GCC ]] && ! check_toolchain "$UBOOT_COMPILER" "$UBOOT_NEEDS_GCC"; then # try to find required toolchain if alt was not found toolchain=$(find_toolchain "$UBOOT_COMPILER" "$UBOOT_NEEDS_GCC") - [[ -z $toolchain ]] && exit_with_error "Could not find required toolchain" "${compiler}gcc $expression" + [[ -z $toolchain ]] && exit_with_error "Could not find required toolchain" "${UBOOT_COMPILER}gcc $UBOOT_NEEDS_GCC" fi display_alert "Compiler version" "${UBOOT_COMPILER}gcc $(eval ${toolchain:+env PATH=$toolchain:$PATH} ${UBOOT_COMPILER}gcc -dumpversion)" "info" @@ -203,7 +203,7 @@ compile_kernel() if [[ -z $toolchain && -n $KERNEL_NEEDS_GCC ]] && ! check_toolchain "$KERNEL_COMPILER" "$KERNEL_NEEDS_GCC"; then # try to find required toolchain if alt was not found toolchain=$(find_toolchain "$KERNEL_COMPILER" "$KERNEL_NEEDS_GCC") - [[ -z $toolchain ]] && exit_with_error "Could not find required toolchain" "${KERNEL_COMPILER}gcc $expression" + [[ -z $toolchain ]] && exit_with_error "Could not find required toolchain" "${KERNEL_COMPILER}gcc $KERNEL_NEEDS_GCC" fi display_alert "Compiler version" "${KERNEL_COMPILER}gcc $(eval ${toolchain:+env PATH=$toolchain:$PATH} ${KERNEL_COMPILER}gcc -dumpversion)" "info"