Fork me on GitHub

Changeset dfdad8b in git


Ignore:
Timestamp:
May 28, 2021, 7:13:24 AM (3 years ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
91eef4d
Parents:
ae93700
git-author:
Thijs Miedema <mail@…> (05/28/21 07:13:24)
git-committer:
GitHub <noreply@…> (05/28/21 07:13:24)
Message:

Make DelphesEnv relative to the file instead of the pwd. (#98)

  • Make DelphesEnv relative to the file instead of the pwd.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DelphesEnv.sh

    rae93700 rdfdad8b  
    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_LIBRARY_PATH}"
     6export LIBRARY_PATH="$DIR:${LIBRARY_PATH}"
Note: See TracChangeset for help on using the changeset viewer.