Fork me on GitHub

Changeset 1948197 in git for .circleci


Ignore:
Timestamp:
May 23, 2018, 3:08:12 PM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
32c87a1
Parents:
7834e65f
Message:

check if /opt/root exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .circleci/config.yml

    r7834e65f r1948197  
    77        name: Setup environment
    88        command: |
    9           echo 'export ROOTSYS=/opt/root' >> $BASH_ENV
    10           echo 'export PATH=$ROOTSYS/bin:$PATH' >> $BASH_ENV
    11           echo 'export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH' >> $BASH_ENV
    12           echo 'export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH' >> $BASH_ENV
     9          if [ -d /opt/root ]; then
     10            echo 'export ROOTSYS=/opt/root' >> $BASH_ENV
     11            echo 'export PATH=$ROOTSYS/bin:$PATH' >> $BASH_ENV
     12            echo 'export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH' >> $BASH_ENV
     13            echo 'export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH' >> $BASH_ENV
     14          fi
    1315          echo 'export PYTHIA8=/opt/pythia' >> $BASH_ENV
    1416    - run:
Note: See TracChangeset for help on using the changeset viewer.