Commit 09da60fc authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Use real paths resolving symlinks for both COOLSYS and

LCG_release_base (to avoid the former under /mnt/build and the 
latter under /build in jenkins, see CORALCOOL-2836).


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@19868 4525493e-7705-40b1-a816-d608a930855b
parent eb0c60d7
...@@ -289,7 +289,8 @@ function(_coral_write_env_conf filename) ...@@ -289,7 +289,8 @@ function(_coral_write_env_conf filename)
# variables that need to be used to make the environment relative # variables that need to be used to make the environment relative
set(root_vars ${ARG_ROOT_VARS}) # needed by _env_line (CORALCOOL-2829) set(root_vars ${ARG_ROOT_VARS}) # needed by _env_line (CORALCOOL-2829)
foreach(root_var ${ARG_ROOT_VARS}) foreach(root_var ${ARG_ROOT_VARS})
set(data "${data} <env:default variable=\"${root_var}\">${${root_var}}</env:default>\n") get_filename_component(_path ${${root_var}} REALPATH) # see CORALCOOL-2836
set(data "${data} <env:default variable=\"${root_var}\">${_path}</env:default>\n")
endforeach() endforeach()
set(commands ${ARG_UNPARSED_ARGUMENTS}) set(commands ${ARG_UNPARSED_ARGUMENTS})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment