Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile_geant4
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ $(G4DIR)/.make_done: $(G4DIR)/.configure_done

$(G4DIR)/.make_install_done: $(G4DIR)/.make_done
cd $(G4DIR)/build ; make install
if [[ $(MAJOR_VERSION) -eq 10 && $(MINOR_VERSION) -gt 4 ]]; \
then cd $(G4DIR); ln -s data share ; \
fi
date > $@

help:
Expand Down
2 changes: 1 addition & 1 deletion gluex_env.csh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ endif
# Geant4
if ($?G4ROOT) then
if ( -e $G4ROOT) then
set g4setup=`find $G4ROOT/share/ -maxdepth 3 -name geant4make.csh`
set g4setup=`find -L $G4ROOT/share/ -maxdepth 3 -name geant4make.csh`
if ( -f $g4setup) then
set g4dir=`dirname $g4setup`
source $g4setup $g4dir
Expand Down
2 changes: 1 addition & 1 deletion gluex_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if [ -n "$G4ROOT" ]
then
if [ -e "$G4ROOT" ]
then
g4setup=`find $G4ROOT/share/ -maxdepth 3 -name geant4make.sh`
g4setup=`find -L $G4ROOT/share/ -maxdepth 3 -name geant4make.sh`
if [ -f "$g4setup" ]
then
source $g4setup
Expand Down