зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1259174 - Fix absolute paths in TEST_HARNESS_FILES. r=mshal
--HG-- extra : amend_source : 73b8a4ad68d24ff5f04c17d95423565070aac04b
This commit is contained in:
Родитель
63c2afbc28
Коммит
6da499d398
|
@ -1246,7 +1246,11 @@ class RecursiveMakeBackend(CommonBackend):
|
|||
"SourcePath objects in %s. Path is: %s" % (
|
||||
type(obj), f
|
||||
))
|
||||
install_manifest.add_pattern_symlink(f.srcdir, f, path)
|
||||
if f.startswith('/'):
|
||||
basepath = f.full_path.rstrip('*')
|
||||
install_manifest.add_pattern_symlink(basepath, '*', path)
|
||||
else:
|
||||
install_manifest.add_pattern_symlink(f.srcdir, f, path)
|
||||
else:
|
||||
install_manifest.add_symlink(f.full_path, dest)
|
||||
else:
|
||||
|
|
Загрузка…
Ссылка в новой задаче