aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/newvers.sh
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2010-09-21 07:03:53 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2010-09-21 07:03:53 +0000
commit231fffcf1a162583b3c1bcf3af2fb3085206a871 (patch)
treed36648ce49068adb1147a361f5e73604f6b0ce3a /sys/conf/newvers.sh
parent81f3e99c56df612e1f3b9d022f13992d7238bd14 (diff)
downloadsrc-231fffcf1a162583b3c1bcf3af2fb3085206a871.tar.gz
src-231fffcf1a162583b3c1bcf3af2fb3085206a871.zip
Fix the path to the sys dir when cross compiling after r209510.
Reviewed by: imp
Notes
Notes: svn path=/head/; revision=212954
Diffstat (limited to 'sys/conf/newvers.sh')
-rw-r--r--sys/conf/newvers.sh2
1 files changed, 1 insertions, 1 deletions
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/*}