Ignore:
Timestamp:
Feb 16, 2024, 1:26:59 AM (4 months ago)
Author:
Bruno Cornec
Message:

Remove now useless TRAC_ENV usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/ansible/roles/trac/templates/trac-svn-hook

    r3806 r3807  
    117117#
    118118## TODO: make a loop ?
    119 TRAC_ENV=/prj/trac/dploy.env:/prj/trac/mondorescue.env:/prj/trac/project-builder.env:/prj/trac/pusk.env:/prj/trac/uuwl.env/
     119#TRAC_ENV=/prj/trac/dploy.env:/prj/trac/mondorescue.env:/prj/trac/project-builder.env:/prj/trac/pusk.env:/prj/trac/uuwl.env/
    120120# TRAC_PATH=/path/to/python/bin
    121121# TRAC_LD_LIBRARY_PATH=/path/to/lib:/path/to/another/lib
     
    177177# This is the script itself, you shouldn't need to modify this part.
    178178
    179 export TRAC_ENV
    180179if [ -n "$PYTHONPATH" ]; then
    181180    export PYTHONPATH
     
    209208if ! trac-admin -v 2>/dev/null; then
    210209    >&2 echo "trac-admin is not in the PATH ($PATH), check TRAC_PATH."
    211     exit 2
    212 fi
    213 
    214 if [ -z "$TRAC_ENV" ]; then
    215     >&2 echo "TRAC_ENV is not set."
    216210    exit 2
    217211fi
Note: See TracChangeset for help on using the changeset viewer.