Fork me on GitHub

Changeset 716e186 in git for DelphesEnv.sh


Ignore:
Timestamp:
May 27, 2021, 8:52:23 PM (3 years ago)
Author:
Thijs Miedema <mail@…>
Children:
f2766be
Parents:
ae93700
Message:

Make DelphesEnv relative to the file instead of the pwd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DelphesEnv.sh

    rae93700 r716e186  
    1 export PYTHONPATH=`pwd`/python:$PYTHONPATH
    2 export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
     1DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
    32
     3export DELPHES_HOME="$DIR"
     4export PYTHONPATH="$DIR/python:${PYTHONPATH}"
     5export LD_LIBRARY_PATH="$DIR:${LD_LIBARARY_PATH}"
     6export LIBRARY_PATH="$DIR:${LIBARARY_PATH}"
Note: See TracChangeset for help on using the changeset viewer.