aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-10-03 10:08:36 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-10-03 10:08:36 +0000
commitfa89f89ca69efaf739c266ef9dd57311bd38a517 (patch)
tree2bc879c8d888aac4984dffbc8fc85e6362edff9e /sys
parent8d333b3c8511941762d2e8cc38457d6ed58c5be7 (diff)
downloadsrc-fa89f89ca69efaf739c266ef9dd57311bd38a517.tar.gz
src-fa89f89ca69efaf739c266ef9dd57311bd38a517.zip
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
Notes
Notes: svn path=/head/; revision=183566
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/newvers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 181f1525d196..e3b003003793 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -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