svn commit: r187413 - head/sys/conf
Andrew Thompson
thompsa at FreeBSD.org
Sun Jan 18 15:21:05 PST 2009
Author: thompsa
Date: Sun Jan 18 23:21:04 2009
New Revision: 187413
URL: http://svn.freebsd.org/changeset/base/187413
Log:
Also strip the machine arch from SRCDIR in case it is a cross build so
svnversion works.
Modified:
head/sys/conf/newvers.sh
Modified: head/sys/conf/newvers.sh
==============================================================================
--- head/sys/conf/newvers.sh Sun Jan 18 21:52:01 2009 (r187412)
+++ head/sys/conf/newvers.sh Sun Jan 18 23:21:04 2009 (r187413)
@@ -91,6 +91,7 @@ for dir in /bin /usr/bin /usr/local/bin;
if [ -x "${dir}/svnversion" ]; then
svnversion=${dir}/svnversion
SRCDIR=${d##*obj}
+ SRCDIR=${SRCDIR##/$MACHINE}
SRCDIR=${SRCDIR%%/sys/*}
break
fi
More information about the svn-src-head
mailing list