Merge pull request #23810 from rallytime/bp-23757

Backport #23757 to 2014.7
This commit is contained in:
Justin Findlay 2015-05-18 09:30:21 -06:00
commit aee00c83df

View file

@ -321,8 +321,8 @@ def _gen_keep_files(name, require):
'''
Check whether ``path`` is child of ``directory``
'''
path = os.path.realpath(path)
directory = os.path.realpath(directory)
path = os.path.abspath(path)
directory = os.path.abspath(directory)
relative = os.path.relpath(path, directory)