revert os.path.relpath
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Mar 2019 13:45:05 +0000 (14:45 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 29 Mar 2019 08:45:52 +0000 (09:45 +0100)
bootstrap/template.py

index dec4a9ad9db3d89f3b7f723adae1dea1da7c637d..aa2d57b544dd3191426d899bd187b7ee64aa77c5 100755 (executable)
@@ -43,8 +43,7 @@ def get_files(path):
     for root, dirnames, filenames in os.walk(path):
         for filename in filenames:
             filepath = os.path.join(root, filename)
-            filerel = os.path.relpath(filepath)
-            filepaths.append(filerel)
+            filepaths.append(filepath)
     return filepaths