Ian Lepore 0210509acd Allow the path to the system source directory to be passed in to
newvers.sh.  Pass it in from include/Makefile.  If it isn't passed in,
fall back to the old logic of using dirname $0.

Using dirname $0 does not yield the path to the script if it was
sourced in from another script in another directory; you end up with
the parent script's path.  That was causing newvers.sh to look one
level below the FreeBSD src/ directory when building osreldate.h and it
may find something like a git or svn repo there that has nothing to do
with FreeBSD.

PR:		174422
Approved by:	re ()
MFC after:	2 weeks
2013-09-28 16:39:46 +00:00
..
2013-05-21 19:59:37 +00:00
2011-12-29 14:41:17 +00:00
2011-12-20 22:56:13 +00:00
2012-01-07 16:10:15 +00:00
2011-12-25 20:15:41 +00:00
2013-08-09 17:24:23 +00:00
2013-04-23 13:03:03 +00:00
2013-05-25 16:58:12 +00:00