From d5c71e163fe6006befcb0b43110ef2c0157f00ac Mon Sep 17 00:00:00 2001 From: thompsa Date: Tue, 21 Sep 2010 07:03:53 +0000 Subject: [PATCH] Fix the path to the sys dir when cross compiling after r209510. Reviewed by: imp --- sys/conf/newvers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index cabee5a932ba..43862cd0d64a 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -91,7 +91,7 @@ case "$d" in */sys/*) SRCDIR=${d##*obj} if [ -n "$MACHINE" ]; then - SRCDIR=${SRCDIR##/$MACHINE} + SRCDIR=${SRCDIR##/$MACHINE.$MACHINE_ARCH} fi SRCDIR=${SRCDIR%%/sys/*}