Fix bug 2193: http://scons.tigris.org/issues/show_bug.cgi?id=2193
authorgaryo <garyo@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 1 Jan 2009 13:18:06 +0000 (13:18 +0000)
committergaryo <garyo@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 1 Jan 2009 13:18:06 +0000 (13:18 +0000)
commit9058d61eae897bb4cb8dde68a7d8cdef1c88208a
tree9ae7dedcbcc3b5da01aaa084c59421f5b40d9f37
parent8e5254a6589204c571d901613defa9f1e62254b8
Fix bug 2193: scons.tigris.org/issues/show_bug.cgi?id=2193

Ap/PrependENVPath now accept paths starting with # and Dirs.  Added
optional _canonicalize arg to SCons.Util.Ap/PrependPath, and pass an
implementation of that into them from Environment.Ap/PrependENVPath.

Can't just always do the canonicalization in SCons.Util because there
is no env there to get the fs to convert a #-prefixed path to the
proper path.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3867 fdb21ef1-2011-0410-befe-b5e4ea1792b1
src/engine/SCons/Environment.py
src/engine/SCons/EnvironmentTests.py
src/engine/SCons/Util.py