From 9d7f85807fd32f44dda8eaf89ec0bab9977b82cd Mon Sep 17 00:00:00 2001 From: osm0sis Date: Mon, 1 Oct 2018 13:18:43 -0300 Subject: [PATCH] AK2: fix stupid copy pasta error thanks eng.stk for catching it --- tools/ak2-core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ak2-core.sh b/tools/ak2-core.sh index 245ca6a..122eddd 100755 --- a/tools/ak2-core.sh +++ b/tools/ak2-core.sh @@ -570,7 +570,7 @@ case $block in fi; target=/dev/mtd/$mtd; elif [ -e /dev/block/by-name/$part ]; then - block=/dev/block/by-name/$part; + target=/dev/block/by-name/$part; elif [ -e /dev/block/bootdevice/by-name/$part ]; then target=/dev/block/bootdevice/by-name/$part; elif [ -e /dev/block/platform/*/by-name/$part ]; then