DIRACGrid/DIRAC — Issue #508: Feature Request: dirac-install new option
Author: closier
Created: 2012-02-15 07:43:14+00:00
State: open

Is it possible to add an option in order to be able to create relative link instead of full path link ?

Today the link in DIRACROOT/pro point to /my/full/path/versions/vXrYpZ-BBBBBB and I would like that it points to versions/vXrYpZ-BBBBBB

In the same way, in DIRACROOT/pro, you have link for various directories:
drwxrwxr-x 6 lhcbprod z5 2105 fév 15 08:32 .
drwxrwxr-x 8 lhcbprod z5 2076 fév 15 08:30 ..
lrwxrwxrwx 1 lhcbprod z5 55 fév 15 08:32 control -> /nfsexports/shared/software/dirac/certification/control
lrwxrwxrwx 1 lhcbprod z5 52 fév 15 08:32 data -> /nfsexports/shared/software/dirac/certification/data
drwxr-xr-x 14 lhcbprod z5 2093 fév 15 08:32 DIRAC
lrwxrwxrwx 1 lhcbprod z5 51 fév 15 08:32 etc -> /nfsexports/shared/software/dirac/certification/etc
drwxr-xr-x 15 lhcbprod z5 2091 fév 14 16:45 LHCbDIRAC
drwxr-xr-x 6 lhcbprod z5 2060 nov 4 08:23 Linux_x86_64_glibc-2.5
lrwxrwxrwx 1 lhcbprod z5 53 fév 15 08:32 runit -> /nfsexports/shared/software/dirac/certification/runit
lrwxrwxrwx 1 lhcbprod z5 52 fév 15 08:32 sbin -> /nfsexports/shared/software/dirac/certification/sbin
drwxrwxr-x 2 lhcbprod z5 18736 fév 15 08:32 scripts
lrwxrwxrwx 1 lhcbprod z5 55 fév 15 08:32 startup -> /nfsexports/shared/software/dirac/certification/startup
lrwxrwxrwx 1 lhcbprod z5 55 fév 15 08:32 webRoot -> /nfsexports/shared/software/dirac/certification/webRoot
lrwxrwxrwx 1 lhcbprod z5 52 fév 15 08:32 work -> /nfsexports/shared/software/dirac/certification/work

and I would like to have them:
drwxrwxr-x 6 lhcbprod z5 2145 fév 15 08:42 .
drwxrwxr-x 8 lhcbprod z5 2076 fév 15 08:30 ..
lrwxrwxrwx 1 lhcbprod z5 13 fév 15 08:42 control -> ../../control
lrwxrwxrwx 1 lhcbprod z5 10 fév 15 08:42 data -> ../../data
drwxr-xr-x 14 lhcbprod z5 2093 fév 15 08:32 DIRAC
lrwxrwxrwx 1 lhcbprod z5 9 fév 15 08:42 etc -> ../../etc
drwxr-xr-x 15 lhcbprod z5 2091 fév 14 16:45 LHCbDIRAC
drwxr-xr-x 6 lhcbprod z5 2060 nov 4 08:23 Linux_x86_64_glibc-2.5
lrwxrwxrwx 1 lhcbprod z5 11 fév 15 08:42 runit -> ../../runit
lrwxrwxrwx 1 lhcbprod z5 10 fév 15 08:42 sbin -> ../../sbin
drwxrwxr-x 2 lhcbprod z5 18736 fév 15 08:32 scripts
lrwxrwxrwx 1 lhcbprod z5 13 fév 15 08:42 startup -> ../../startup
lrwxrwxrwx 1 lhcbprod z5 13 fév 15 08:42 webRoot -> ../../webRoot
lrwxrwxrwx 1 lhcbprod z5 10 fév 15 08:42 work -> ../../work