Skip to content

Commit

Permalink
Replace the command with the full path to a shorter one that reuses
Browse files Browse the repository at this point in the history
setup.sh, and has everything that the setup.sh script provides like
k4_local_repo
  • Loading branch information
jmcarcell committed Apr 11, 2024
1 parent 3c38627 commit 07bc9b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/cvmfs/setup-nightlies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ else
fi
echo "Use the following command to reproduce the current environment: "
echo ""
echo " source ${setup_actual}"
echo " source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh -r $(basename $(dirname $(dirname $(dirname $(dirname $setup_actual)))))"
echo ""
echo "Nightly builds are intended for testing and development, if you need a stable environment use the releases"
echo "If you have any issues, comments or requests, open an issue at https://github.com/key4hep/key4hep-spack/issues"
Expand Down
3 changes: 1 addition & 2 deletions scripts/cvmfs/setup-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ else
fi
echo "Use the following command to reproduce the current environment: "
echo ""
echo " source ${setup_actual}"
echo " source /cvmfs/sw.hsf.org/key4hep/setup.sh -r $(basename $(dirname $(dirname $(dirname $(dirname $setup_actual)))))"
echo ""
echo "Nightly builds are intended for testing and development, if you need a stable environment use the releases"
echo "If you have any issues, comments or requests, open an issue at https://github.com/key4hep/key4hep-spack/issues"
source ${setup_actual}

0 comments on commit 07bc9b5

Please sign in to comment.