Backout svn r183528.
SRCDIR is seeded from `pwd` which not only means src/sys/ but also src/include/ (and possibly src/usr.sbin/amd/include/ ?). Trying to build world resulted in ===> include (includes) cd /usr/src/include; make buildincludes; make installincludes creating osreldate.h from newvers.sh cd: can't cd to /usr/src/include/sys *** Error code 2 as there is apparently no src/include/sys. There are multiple possible solutions ranging from seeding SRCDIR from the environment to adding more substitution patterns. Reported by: sam, bz Proper solution to be implemented and tested by: peter
This commit is contained in:
parent
8d333b3c85
commit
fa89f89ca6
@ -97,7 +97,7 @@ for dir in /bin /usr/bin /usr/local/bin; do
|
||||
done
|
||||
|
||||
if [ -n "$svnversion" -a -d "${SRCDIR}/.svn" ] ; then
|
||||
svn=" r`cd $SRCDIR/sys && $svnversion`"
|
||||
svn=" r`cd $SRCDIR && $svnversion`"
|
||||
else
|
||||
svn=""
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user