1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

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:
Bjoern A. Zeeb 2008-10-03 10:08:36 +00:00
parent 8d333b3c85
commit fa89f89ca6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183566

View File

@ -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