[zorg] r324379 - Use normalized absolute paths for dependency files
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 11:00:40 PST 2018
Author: cmatthews
Date: Tue Feb 6 11:00:40 2018
New Revision: 324379
URL: http://llvm.org/viewvc/llvm-project?rev=324379&view=rev
Log:
Use normalized absolute paths for dependency files
A script is passing a path with a double slash.
Modified:
zorg/trunk/dep/dep.py
Modified: zorg/trunk/dep/dep.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/dep/dep.py?rev=324379&r1=324378&r2=324379&view=diff
==============================================================================
--- zorg/trunk/dep/dep.py (original)
+++ zorg/trunk/dep/dep.py Tue Feb 6 11:00:40 2018
@@ -687,7 +687,9 @@ def main():
args = parser.parse_args()
- parse_dependencies(args.dependencies)
+ full_file_paths = [os.path.abspath(path) for path in args.dependencies]
+
+ parse_dependencies(full_file_paths)
return True
More information about the llvm-commits
mailing list