diff --git a/base/km3sim:4.10.05 b/base/km3sim:4.10.05 index 206863a95f717c840a714db25c97736497242b3e..247e79982829faec82e28210399e465661f080bd 100644 --- a/base/km3sim:4.10.05 +++ b/base/km3sim:4.10.05 @@ -44,7 +44,7 @@ RUN which cmake && cmake --version cd .. && \ mv obj /opt/root-$ROOT_VERSION && \ rm -rf /tmp/root* && \ - echo "cd /opt/root-$ROOT_VERSION && source bin/thisroot.sh && cd" >> /etc/profile.d/root_env.sh && cd + echo "cd /opt/root-$ROOT_VERSION && source bin/thisroot.sh && cd -" >> /etc/profile.d/root_env.sh && cd # Make Geant4 @@ -53,4 +53,4 @@ RUN which cmake && cmake --version mkdir geant4.10.05_build && mkdir /usr/local/geant4.10.05_install && cd geant4.10.05_build && \ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/geant4.10.05_install -DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_DATA=ON -DXERCESC_INCLUDE_DIR=/usr/include/xercesc/ -DXERCESC_LIBRARY=/usr/lib64/ ../geant4.10.05 && \ make -j4 > make.log && make install > make_install.log && cd .. && rm -rf geant4.10.05_build geant4.10.05 - RUN echo "export G4DIR=/usr/local/geant4.10.05_install" >> /etc/bashrc \ No newline at end of file + RUN echo "export G4DIR=/usr/local/geant4.10.05_install" >> /etc/bashrc