From 130fdc5262b614dffe66c13e12342048783351c3 Mon Sep 17 00:00:00 2001 From: DUC ANH HOANG Date: Tue, 7 Sep 2021 10:56:55 +0200 Subject: [PATCH] using relative symbolic link to create virtual appli --- bin/virtual_salome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/virtual_salome.py b/bin/virtual_salome.py index b800edde2..d6fe376fc 100755 --- a/bin/virtual_salome.py +++ b/bin/virtual_salome.py @@ -63,7 +63,7 @@ def symlink(src, dest): if verbose: print('Creating symlink %s' % dest) pass - os.symlink(src, dest) + os.symlink(os.path.relpath(src,os.path.dirname(dest)), dest) else: if verbose: print('Symlink %s already exists' % dest) -- 2.39.2