setup.sh: fatal: Invalid integer constant 'relHostOffset'

dereference variables passed to mapOffset
This commit is contained in:
happysalada 2021-06-23 16:34:11 +09:00 committed by Raphael Megzari
parent 958c180d1f
commit 5f01543070

View file

@ -405,7 +405,7 @@ findInputs() {
# Host offset relative to the package currently being
# built---as absolute an offset as will be used.
mapOffset relHostOffset
mapOffset "$relHostOffset"
local hostOffsetNext="$mapOffsetResult"
# Ensure we're in bounds relative to the package currently
@ -424,7 +424,7 @@ findInputs() {
# Target offset relative to the package currently being
# built.
mapOffset relTargetOffset
mapOffset "$relTargetOffset"
local targetOffsetNext="$mapOffsetResult"
# Once again, ensure we're in bounds relative to the