Skip to content

Commit

Permalink
Add a message about the variables that are being unset
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jun 17, 2024
1 parent 813f9ea commit 2294ad1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/cvmfs/setup-nightlies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ export key4hep_stack_version=$(echo "$setup_actual"| grep -Po '(?<=key4hep-stack

# For SWAN
if [ -n "$LCG_VERSION" ]; then
echo "A LCG stack has been sourced, unsetting the following variables to avoid conflicts:"
echo "CMAKE_PREFIX_PATH CPPYY_BACKEND_LIBRARY LD_LIBRARY_PATH PKG_CONFIG_PATH PYTHONHOME PYTHONPATH"
unset CMAKE_PREFIX_PATH CPPYY_BACKEND_LIBRARY LD_LIBRARY_PATH PKG_CONFIG_PATH PYTHONHOME PYTHONPATH
fi

Expand Down
2 changes: 2 additions & 0 deletions scripts/cvmfs/setup-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ export key4hep_stack_version=$(echo "$setup_actual"| grep -Po '(?<=key4hep-stack

# For SWAN
if [ -n "$LCG_VERSION" ]; then
echo "A LCG stack has been sourced, unsetting the following variables to avoid conflicts:"
echo "CMAKE_PREFIX_PATH CPPYY_BACKEND_LIBRARY LD_LIBRARY_PATH PKG_CONFIG_PATH PYTHONHOME PYTHONPATH"
unset CMAKE_PREFIX_PATH CPPYY_BACKEND_LIBRARY LD_LIBRARY_PATH PKG_CONFIG_PATH PYTHONHOME PYTHONPATH
fi

Expand Down

0 comments on commit 2294ad1

Please sign in to comment.