summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-06-08 18:31:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-06-08 18:31:18 +0000
commit93ed54a4e7d31d795814bcc1348460ce921aa7e6 (patch)
tree3a71d6fad07acb00443f60727e8b9e149854d1f4
parent9b25304da03848bbf9d7944472f6a85c54eba8ff (diff)
expr isn't on the ramdisk use ksh for addition
problem spotted by jasper@
-rw-r--r--distrib/armv7/ramdisk/install.md4
1 files 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