From: DUC ANH HOANG Date: Tue, 7 Sep 2021 08:56:55 +0000 (+0200) Subject: using relative symbolic link to create virtual appli X-Git-Tag: V9_8_0a1~12^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=130fdc5262b614dffe66c13e12342048783351c3;p=modules%2Fkernel.git using relative symbolic link to create virtual appli --- 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)