In geant-4.9.5, the data dir are still hard coded as environment variables. e.g. source/materials/src/G4IonStoppingData.cc:383: char* path = getenv("G4LEDATA"); A patch is created to extract those data directories from geant legacy startup script. cf. bug #360285. by-product: deleted the script shebang to make prefix happy. Reproducible: Always
Created attachment 306839 [details, diff] geant-4.9.5-r1.patch
committed, thanks.