Skip to content

Commit

Permalink
Make sure that k4geo populates env correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Mar 11, 2024
1 parent 6023e4c commit f9c83c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ilcsoft/lcgeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,7 @@ def postCheckDeps(self):
self.env[ 'lcgeo_DIR' ] = self.installPath
self.env[ 'lcgeo_ENVINIT' ] = "${lcgeo_DIR}/bin/thislcgeo.sh"
self.envcmds.append('test -r ${lcgeo_ENVINIT} && . ${lcgeo_ENVINIT}')



if Version(self.version) >= "00-19":
self.env["k4geo_DIR"] = self.installPath
self.envcmds.append("test -r ${k4geo_DIR}/bin/thisk4geo.sh && . ${k4geo_DIR}/bin/thisk4geo.sh")

0 comments on commit f9c83c6

Please sign in to comment.