Author: thompsa Date: Tue Jan 20 21:37:41 2009 New Revision: 187486 URL: http://svn.freebsd.org/changeset/base/187486
Log: Dont assume $MACHINE is set, this breaks for regular builds. Reported by: pho Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh ============================================================================== --- head/sys/conf/newvers.sh Tue Jan 20 20:41:41 2009 (r187485) +++ head/sys/conf/newvers.sh Tue Jan 20 21:37:41 2009 (r187486) @@ -91,7 +91,9 @@ for dir in /bin /usr/bin /usr/local/bin; if [ -x "${dir}/svnversion" ]; then svnversion=${dir}/svnversion SRCDIR=${d##*obj} - SRCDIR=${SRCDIR##/$MACHINE} + if [ -n "$MACHINE" ]; then + SRCDIR=${SRCDIR##/$MACHINE} + fi SRCDIR=${SRCDIR%%/sys/*} break fi _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"