From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

scripts: do not resolve symlink targets when exporting -

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/scripts/export_manifest.py b/scripts/export_manifest.py
--- a/scripts/export_manifest.py
+++ b/scripts/export_manifest.py
@@ -28,13 +28,6 @@ def export_package(manifest, dest):
             link_source = hostname[2:]
             target_dir = os.path.dirname(name)
 
-            if link_source.startswith("/"):
-                link_source = os.path.join(abs_dest, link_source[1:])
-            else:
-                link_source = os.path.abspath(os.path.join(target_dir, 
link_source))
-
-            link_source = os.path.relpath(link_source, target_dir)
-
             if not os.path.exists(target_dir):
                 os.makedirs(target_dir)
 

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/000000000000fd805b05a3c3b6e6%40google.com.

Reply via email to