summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/conf/newvers.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index e3b003003793..d9f54b5b5572 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -91,6 +91,7 @@ for dir in /bin /usr/bin /usr/local/bin; do
if [ -x "${dir}/svnversion" ]; then
svnversion=${dir}/svnversion
SRCDIR=${d##*obj}
+ SRCDIR=${SRCDIR##/$MACHINE}
SRCDIR=${SRCDIR%%/sys/*}
break
fi