Skip to content

Commit

Permalink
Add missing env variables when using k4_local_repo (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Dec 18, 2024
1 parent 063bf43 commit fca281f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion scripts/cvmfs/setup-nightlies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,11 @@ k4_local_repo() {
export PKG_CONFIG_PATH=$PWD/$install/lib/pkgconfig:$PKG_CONFIG_PATH
export ROOT_INCLUDE_PATH=$PWD/$install/include:$ROOT_INCLUDE_PATH
if [ "$current_repo" = "k4geo" ]; then
export LCGEO=$PWD
export K4GEO=$PWD
echo "Added K4GEO=$PWD"
export lcgeo_DIR=$PWD
export k4geo_DIR=$PWD
echo "Added LCGEO, K4GEO, lcgeo_DIR and k4geo_DIR to the environment"
fi
echo "Added $PWD/$install to the environment and removed any paths containing /${current_repo}/"
echo "Some variables may have to be updated manually to point to the local installation"
Expand Down
5 changes: 4 additions & 1 deletion scripts/cvmfs/setup-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,11 @@ k4_local_repo() {
export PKG_CONFIG_PATH=$PWD/$install/lib/pkgconfig:$PKG_CONFIG_PATH
export ROOT_INCLUDE_PATH=$PWD/$install/include:$ROOT_INCLUDE_PATH
if [ "$current_repo" = "k4geo" ]; then
export LCGEO=$PWD
export K4GEO=$PWD
echo "Added K4GEO=$PWD"
export lcgeo_DIR=$PWD
export k4geo_DIR=$PWD
echo "Added LCGEO, K4GEO, lcgeo_DIR and k4geo_DIR to the environment"
fi
echo "Added $PWD/$install to the environment and removed any paths containing /${current_repo}/"
echo "Some variables may have to be updated manually to point to the local installation"
Expand Down

0 comments on commit fca281f

Please sign in to comment.