From 8b0b80cca7739db2211d46c81d5cbb85867394f4 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 8 Jun 2015 18:31:17 +0000 Subject: [PATCH] expr isn't on the ramdisk use ksh for addition problem spotted by jasper@ --- distrib/armv7/ramdisk/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/armv7/ramdisk/install.md b/distrib/armv7/ramdisk/install.md index deebc1842e6..2ae7c70e5e4 100644 --- a/distrib/armv7/ramdisk/install.md +++ b/distrib/armv7/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.14 2015/06/08 17:35:43 jsg Exp $ +# $OpenBSD: install.md,v 1.15 2015/06/08 18:31:17 jsg Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -136,7 +136,7 @@ md_prep_fdisk() { if [[ -n $CUBOX ]]; then bootsectorstart="2048" fi - bootsectorend=`expr $bootsectorstart + $bootsectorsize` + bootsectorend=$(($bootsectorstart + $bootsectorsize)) while :; do _d=whole -- 2.20.1