diff options
-rwxr-xr-x | tools/ak2-core.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ak2-core.sh b/tools/ak2-core.sh index c30a799..352295c 100755 --- a/tools/ak2-core.sh +++ b/tools/ak2-core.sh @@ -39,7 +39,7 @@ split_boot() { if [ ! -e "$(echo $block | cut -d\ -f1)" ]; then ui_print " "; ui_print "Invalid partition. Aborting..."; exit 1; fi; - if [ "$(echo $block | cut -d\ -f2-)" ]; then + if [ "$(echo $block | grep ' ')" ]; then block=$(echo $block | cut -d\ -f1); customdd=$(echo $block | cut -d\ -f2-); elif [ ! "$customdd" ]; then |